[systemd-bugs] [Bug 86171] ExecStart with whitespace in path

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 18 16:39:58 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86171

--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
I clarified the rules in
http://cgit.freedesktop.org/systemd/systemd/commit/?id=c853953658.

ExecStart=/PATH WITH SPACES/daemon -Param1 -Param2        -> 5 args
ExecStart="/PATH WITH SPACES/daemon" -Param1 -Param2      -> 3 args
ExecStart="/PATH WITH SPACES/daemon -Param1 -Param2"      -> 1 arg
ExecStart="/PATH WITH SPACES/daemon" "-Param1 -Param2"    -> 2 args
ExecStart="/PATH WITH SPACES/daemon" "-Param1" "-Param2"  -> 3 args
ExecStart=/PATH\ WITH\ SPACES/daemon -Param1 -Param2      -> error
ExecStart=/PATH\x20WITH\x20SPACES/daemon -Param1 -Param2  -> 3 args

I think that any version which returns 3 args should do the right thing for
you.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141219/4bb0de0d/attachment.html>


More information about the systemd-bugs mailing list