expand properties on command line for exec
This commit is contained in:
parent
8e43129a2b
commit
92ffcfc0f8
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue