expand properties on command line for exec

This commit is contained in:
Greg Wilkins 2014-05-26 16:16:33 +02:00
parent 8e43129a2b
commit 92ffcfc0f8
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ public class StartArgs
ensureSystemPropertySet("STOP.WAIT"); ensureSystemPropertySet("STOP.WAIT");
// pass properties as args or as a file // pass properties as args or as a file
if (dryRun) if (dryRun || isExec())
{ {
for (Prop p : properties) for (Prop p : properties)
cmd.addRawArg(CommandLineBuilder.quote(p.key)+"="+CommandLineBuilder.quote(p.value)); cmd.addRawArg(CommandLineBuilder.quote(p.key)+"="+CommandLineBuilder.quote(p.value));