Hi Peter,

I'm not aware of any plans to allow an array of commands here. You can 
always define multiple commands in one string by using the shell's 
separator (";" on *nix, "&&" on Windows). But if you think allowing an 
array of commands would be better, feel free to open an enhancement bug 
report.


Regards,
Daniel

Peter Schneider schrieb:
> Hi there,
> 
> for building my project it is somehow necessary to run a sequence of
> shell-commands.
> Currently I am using one "main-job" ("doThings") which runs multiple 
> "sub-jobs"
> ("doThing-X") to achieve this:
> 
> <code>
> ...
>  "doThings" : {
>   "run" : [ "doThing-1", "doThing-2", "doThing-3", ... ]
>  },
>  "doThing-1" : {
>    "shell" : { "command" : "firstCommand.exe" }
>  },
>  "doThing-2" : {
>    "shell" : { "command" : "secondCommand.exe" }
>  },
>  "doThing-3" : {
>    "shell" : { "command" : "thirdCommand.exe" }
>  },
>  ...
> </code>
> 
> As far as I know the "shell/command" config key only supports a (one) string.
> Are there any plans on supporting array values for the "shell/command" 
> feature?
> So that I could do something like this:
> <code>
> ...
>  "doThings" : {
>    "shell" : {
>      "command" : [
>        "firstCommand.exe",
>        "secondCommand.exe",
>        "thirdCommand.exe",
>        ...
>      ]
>   }
>  }
> ...
> </code>
> 
> I just wanted to know if this might become possible in the near future.
> 
> As I currently have a working solution there's no need for any action, I'm 
> just
> curious...
> 
> Cheers,
>   Peter
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to