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 projectDir that contains spaces #22

Open
ArsenyYankovsky opened this issue Oct 28, 2016 · 1 comment
Open

Support projectDir that contains spaces #22

ArsenyYankovsky opened this issue Oct 28, 2016 · 1 comment

Comments

@ArsenyYankovsky
Copy link

Using command as following:

command "java - jar \"/my/path that/contains/spaces.jar\""

Will fail since we do:

def builder = new ProcessBuilder(command.split(' '))

@eskatos
Copy link

eskatos commented Jan 11, 2017

More generally, the tasks should provide a way to specify the command line elements by elements and take care of escaping/quoting, delegating that job to ProcessBuilder.

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

No branches or pull requests

2 participants