Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support single line commands #1

Open
GoogleCodeExporter opened this issue Jun 12, 2015 · 0 comments
Open

support single line commands #1

GoogleCodeExporter opened this issue Jun 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Currently a command with arguments has to be broken up into several
properties, one for the command and one for each argument.

It would be great if you could write commands in one property, including
arguments, just the way you would write on the command line.

The main issue is that the Java classes that start processes accept only
arrays of Strings. The complete command would have to be parsed first.
Parsing is not trivial, spaces must be escaped, either individually (using
a backslash for example) and using double quote to enclose whole strings.
This escaping should be shell agnostic, even if it resembles bash escaping
for example.

Original issue reported on code.google.com by [email protected] on 12 Mar 2009 at 1:08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant