Page MenuHomePhabricator

command line arguments not quoted
Closed, ResolvedPublic

Description

In CMake/RunInstalledApp.sh this:

"$binpath/bin/$appname" $*

should be replaced by this:

"$binpath/bin/$appname" "$*"

Otherwise, you cannot pass command line arguments with space in them.

It is annoying as we introduced new command line arguments, like the name of the perspective, which usually has space.

Event Timeline

Sorry, this is the right form:

"$binpath/bin/$appname" "$@"

User kislinsk has pushed new remote branch:

bug-18608-QuoteCmdLineArgs

[fcd77d]: Merge branch 'bug-18608-QuoteCmdLineArgs'

Merged commits:

2015-08-19 14:10:37 Stefan Kislinskiy [88c75e]
Quote command line arguments.