Skip to content
Snippets Groups Projects

[dunecontrol] Properly quote arguments, in particular to exec and bexec.

Merged Jö Fahlke requested to merge feature/proper-quoting-for-dunecontrol-exec-args into master

This means the you can now pass more complex scripts to exec/bexec that use quoting themselves, and you don't get things like this anymore:

joe@paranoia:~/Projekte/dune-quote/dune-common$ LC_ALL=C bin/dunecontrol exec 'var="quoted value"; echo "$var"'
--- going to build dune-common  ---
--- calling exec for dune-common ---
bash: value: command not found

--- dune-common done ---
--- done ---

Closes: #51 (closed)

Planned merge date: 2016-11-04 or later.

Merge request reports

Pipeline #1063 passed

Pipeline passed for 6455bc0c on feature/proper-quoting-for-dunecontrol-exec-args

Approval is optional

Merged by avatar (Apr 18, 2025 1:19pm UTC)

Merge details

Pipeline #1095 passed

Pipeline passed for 6e4a9c39 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading