# Documentation for exec node

**URL:** https://discourse.nodered.org/t/documentation-for-exec-node/23061
**Category:** General
**Created:** [13 March 2020 03:19 UTC](https://discourse.nodered.org/t/documentation-for-exec-node/23061 "2020-03-13T03:19:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![andrewa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrewa/32/19448_2.png) [@andrewa](https://discourse.nodered.org/u/andrewa)
#### Post date: [13 March 2020 03:19 UTC](https://discourse.nodered.org/t/documentation-for-exec-node/23061/1 "2020-03-13T03:19:25Z")

</div>

I know there must be a simple answer, but can anyone tell me where to find the documentation for the exec node? Specifically, I can run the command and receive back the answer in the payload, but I would like to receive two parameters and send them out different outputs. I don't know what the three outputs are for and how to use them, but presumably they serve some useful purpose, and I wonder whether that may help me.

---

<div class="post-metadata">

### Author: ![andrewa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrewa/32/19448_2.png) [@andrewa](https://discourse.nodered.org/u/andrewa)
#### Post date: [13 March 2020 06:07 UTC](https://discourse.nodered.org/t/documentation-for-exec-node/23061/3 "2020-03-13T06:07:59Z")

</div>

Thanks for that, however my question is not about bash, but about the node-red exec node and how to use that.

---

<div class="post-metadata">

### Author: ![andrewa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrewa/32/19448_2.png) [@andrewa](https://discourse.nodered.org/u/andrewa)
#### Post date: [13 March 2020 06:14 UTC](https://discourse.nodered.org/t/documentation-for-exec-node/23061/5 "2020-03-13T06:14:44Z")

</div>

Actually, I found the doco - there all the time in the info tab!

So they are:  
Standard output  
Standard error  
Return code

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [27 March 2020 06:14 UTC](https://discourse.nodered.org/t/documentation-for-exec-node/23061/6 "2020-03-27T06:14:51Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
