# Command line format for Exec node

**URL:** https://discourse.nodered.org/t/command-line-format-for-exec-node/18830
**Category:** General
**Created:** [5 December 2019 17:52 UTC](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830 "2019-12-05T17:52:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nomi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nomi/32/10378_2.png) [@nomi](https://discourse.nodered.org/u/nomi)
#### Post date: [5 December 2019 17:52 UTC](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830/1 "2019-12-05T17:52:52Z")

</div>

Hi,

some issue to create a command line for an exec node from a json object.  
the object is this one 🙂

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6d3d74dc075b2ab079c27be90763311c69cca04f.png)

and i would like to format the object as individual command line parameter like this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/00cd373f9f88f273ac136d881059dfb2590561b2.png)

I try a split node but doesn't work !  
🤔

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [5 December 2019 23:48 UTC](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830/2 "2019-12-05T23:48:31Z")

</div>

I would use a join node (using jsaoata) or a template node to form the parameters you need and put that in msg.payload. then I would check the `+Append msg.payload` box.

---

<div class="post-metadata">

### Author: ![nomi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nomi/32/10378_2.png) [@nomi](https://discourse.nodered.org/u/nomi)
#### Post date: [6 December 2019 09:58 UTC](https://discourse.nodered.org/t/command-line-format-for-exec-node/18830/3 "2019-12-06T09:58:21Z")

</div>

Thanks for your help.  
It's perfect with a template node !
