# \#exec

**URL:** https://discourse.nodered.org/tag/exec/51.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [How can I enter sftp password after connect sftp on a remote host via ssh](https://discourse.nodered.org/t/how-can-i-enter-sftp-password-after-connect-sftp-on-a-remote-host-via-ssh/98168)

<div class="topic-metadata">

**Author:** [@okircali](https://discourse.nodered.org/u/okircali)\
**Replies:** 1\
**Last updated:** [17 July 2025 16:14 UTC](https://discourse.nodered.org/t/how-can-i-enter-sftp-password-after-connect-sftp-on-a-remote-host-via-ssh/98168 "2025-07-17T16:14:00Z")

</div>

Hello, I want to develop a node that will connect sftp on a remote host via ssh and then enter the sftp password on the prompt. Is there any way to auto fill the password prompt? Best regards

---

## [I need assistance with the exec node](https://discourse.nodered.org/t/i-need-assistance-with-the-exec-node/97793)

<div class="topic-metadata">

**Author:** [@mahsh](https://discourse.nodered.org/u/mahsh)\
**Replies:** 12\
**Last updated:** [25 June 2025 23:24 UTC](https://discourse.nodered.org/t/i-need-assistance-with-the-exec-node/97793 "2025-06-25T23:24:24Z")

</div>

Hi, I'm running Node-RED on Windows and using the "exec" node with the following command to get .jpg file modification details: stat -c "%z %s %n" -- Here's the issue I'm facing: In the first iteration, I modify one .…

---

## [From exec-node: ERR\_CHILD\_PROCESS\_STDIO\_MAXBUFFER](https://discourse.nodered.org/t/from-exec-node-err-child-process-stdio-maxbuffer/97630)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 0\
**Last updated:** [15 June 2025 07:02 UTC](https://discourse.nodered.org/t/from-exec-node-err-child-process-stdio-maxbuffer/97630 "2025-06-15T07:02:47Z")

</div>

Hello, I saw that I had this error message below the exec node. In my setup I'm having Node-RED handling the execution, running & monitoring a docker container where the main task is to run a python script. This still wo…

---

## [Using exec node as root](https://discourse.nodered.org/t/using-exec-node-as-root/96737)

<div class="topic-metadata">

**Author:** [@lukjasin](https://discourse.nodered.org/u/lukjasin)\
**Replies:** 15\
**Last updated:** [25 April 2025 11:25 UTC](https://discourse.nodered.org/t/using-exec-node-as-root/96737 "2025-04-25T11:25:26Z")

</div>

I'm new here so first of all hello to everyone. I have a Victron Cerbo GX with Venus OS and a node-red v3.1.10 instance is running there. Node-red itself works fine, but I have a problem that I lost remote access to the…

---

## [Exec node not working as expected](https://discourse.nodered.org/t/exec-node-not-working-as-expected/96461)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 3\
**Last updated:** [9 April 2025 21:28 UTC](https://discourse.nodered.org/t/exec-node-not-working-as-expected/96461 "2025-04-09T21:28:13Z")

</div>

I was trying to create a flow on a Raspberry Pi to adjust the master volume of the Pi using an Exec node and the command amixer -q -M sset Master 50% which works as expected from the command line but errors when using th…

---

## [How do I launch an exe via exec (ssh'd into my windows pc) with parameters?](https://discourse.nodered.org/t/how-do-i-launch-an-exe-via-exec-sshd-into-my-windows-pc-with-parameters/96366)

<div class="topic-metadata">

**Author:** [@mxp83](https://discourse.nodered.org/u/mxp83)\
**Replies:** 1\
**Last updated:** [1 April 2025 11:01 UTC](https://discourse.nodered.org/t/how-do-i-launch-an-exe-via-exec-sshd-into-my-windows-pc-with-parameters/96366 "2025-04-01T11:01:24Z")

</div>

I can successfully ssh into my pc via node-red and now I want to launch a program with parameters, but it always returns on error and the program doesn't launch. the payload that is sent to the exec contains the program …

---

## [Use of Exec Node to decipher EXIF metadata](https://discourse.nodered.org/t/use-of-exec-node-to-decipher-exif-metadata/94651)

<div class="topic-metadata">

**Author:** [@sfmaplab](https://discourse.nodered.org/u/sfmaplab)\
**Replies:** 6\
**Last updated:** [15 January 2025 20:32 UTC](https://discourse.nodered.org/t/use-of-exec-node-to-decipher-exif-metadata/94651 "2025-01-15T20:32:14Z")

</div>

Can the Node-Red Exec node handle shell scripts like EXIFTool metadata for photographs?

---

## [Curl command works in Terminal but not in exec node](https://discourse.nodered.org/t/curl-command-works-in-terminal-but-not-in-exec-node/93756)

<div class="topic-metadata">

**Author:** [@Jaddache](https://discourse.nodered.org/u/Jaddache)\
**Replies:** 17\
**Last updated:** [16 December 2024 08:18 UTC](https://discourse.nodered.org/t/curl-command-works-in-terminal-but-not-in-exec-node/93756 "2024-12-16T08:18:41Z")

</div>

I am using node-red 4.0.5 with Node.js v20.18.1 I am using a curl command to interact with a Daikin airconditioner. The curl command is: curl --insecure -H "X-Daikin-uuid: xxxxxxxxxxxxxxxxxxxx" -v "https://192.168.11.…

---

## [Starting shairport-sync with exec-node](https://discourse.nodered.org/t/starting-shairport-sync-with-exec-node/93671)

<div class="topic-metadata">

**Author:** [@WP-Rue](https://discourse.nodered.org/u/WP-Rue)\
**Replies:** 1\
**Last updated:** [9 December 2024 17:32 UTC](https://discourse.nodered.org/t/starting-shairport-sync-with-exec-node/93671 "2024-12-09T17:32:38Z")

</div>

Maybe someone can help or explain: I install shairport-sync on a Raspi 5 with Rasbian OS Bookworm. In a terminal from GUI of the Pi5 I can start the shairport-sync program: playing with new audio-system pipe wire on usb…

---

## [Exec-Node: Works fine in Linux Terminal, but not in Exec-Node](https://discourse.nodered.org/t/exec-node-works-fine-in-linux-terminal-but-not-in-exec-node/93126)

<div class="topic-metadata">

**Author:** [@PeterSmarthome](https://discourse.nodered.org/u/PeterSmarthome)\
**Replies:** 45\
**Last updated:** [21 November 2024 20:24 UTC](https://discourse.nodered.org/t/exec-node-works-fine-in-linux-terminal-but-not-in-exec-node/93126 "2024-11-21T20:24:25Z")

</div>

Hi, I use terminal command to control my Samsung Oven mit SmartThings CLI. The command in the terminal is as follows and it works fine in the linux terminal: smartthings devices:commands \<myDeviceID\> --token=\<myToken\> …

---

## [Weird scrambled output of exec node using bacnet readprop command](https://discourse.nodered.org/t/weird-scrambled-output-of-exec-node-using-bacnet-readprop-command/92994)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 5\
**Last updated:** [8 November 2024 18:21 UTC](https://discourse.nodered.org/t/weird-scrambled-output-of-exec-node-using-bacnet-readprop-command/92994 "2024-11-08T18:21:01Z")

</div>

Have experienced problems with all available bacnet nodes for node red. So to try something else, bacnet stack was included in the docker container and is available through exec node. For example can run this command: r…

---

## [How to get complete ssh output if strings are very long?](https://discourse.nodered.org/t/how-to-get-complete-ssh-output-if-strings-are-very-long/92466)

<div class="topic-metadata">

**Author:** [@kevinshane](https://discourse.nodered.org/u/kevinshane)\
**Replies:** 3\
**Last updated:** [17 October 2024 17:17 UTC](https://discourse.nodered.org/t/how-to-get-complete-ssh-output-if-strings-are-very-long/92466 "2024-10-17T17:17:50Z")

</div>

Hi nrGurus, I am using sshtools (and ssh-v3) plugins to get outputs from a server. The returned json is a pretty long strings which cause the debug node displays a "..." in the end, in this case I can't parse into valid …

---

## [Can not play any audio triggerd via Node Red "EXEC"](https://discourse.nodered.org/t/can-not-play-any-audio-triggerd-via-node-red-exec/90820)

<div class="topic-metadata">

**Author:** [@FurkanVG](https://discourse.nodered.org/u/FurkanVG)\
**Replies:** 9\
**Last updated:** [10 September 2024 07:35 UTC](https://discourse.nodered.org/t/can-not-play-any-audio-triggerd-via-node-red-exec/90820 "2024-09-10T07:35:34Z")

</div>

Hello all, I have updated my Raspi OS from Buster to Bookworm with a fresh install, and with this update, a feature in node-red has died. The feature is quite simple. I click a button on my Node-Red Dashboard, which th…

---

## [BUG in Node-RED 4.0.0 Exec node in spawn mode](https://discourse.nodered.org/t/bug-in-node-red-4-0-0-exec-node-in-spawn-mode/89786)

<div class="topic-metadata">

**Author:** [@jhamel](https://discourse.nodered.org/u/jhamel)\
**Replies:** 3\
**Last updated:** [26 July 2024 12:36 UTC](https://discourse.nodered.org/t/bug-in-node-red-4-0-0-exec-node-in-spawn-mode/89786 "2024-07-26T12:36:58Z")

</div>

flows.json (6.8 KB) myText.txt (7.2 KB) I ran into an issue I didn't have in previous version of Node-RED (3.1.5). When using the exec node in spawn mode, if an appended parameters via the payload contains a space in …

---

## [Exec Spawn message break conditions](https://discourse.nodered.org/t/exec-spawn-message-break-conditions/87165)

<div class="topic-metadata">

**Author:** [@PBn](https://discourse.nodered.org/u/PBn)\
**Replies:** 2\
**Last updated:** [12 April 2024 20:50 UTC](https://discourse.nodered.org/t/exec-spawn-message-break-conditions/87165 "2024-04-12T20:50:44Z")

</div>

Hello, I am trying to produce a fourier transform of some sensor data, an external python script is sampling a sensor, preforming a fft and trying to return some data at ~1sec intervals. I am spawning the exec (with the…

---

## [Exec in spawn mode using curl with a post request?](https://discourse.nodered.org/t/exec-in-spawn-mode-using-curl-with-a-post-request/86627)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 8\
**Last updated:** [21 March 2024 16:52 UTC](https://discourse.nodered.org/t/exec-in-spawn-mode-using-curl-with-a-post-request/86627 "2024-03-21T16:52:53Z")

</div>

I am using an API that streams results in json. As there is no "good" way to handle streaming, I thought I use the exec node in spawn mode and perform a curl request. The response starts with a json result that contains…

---

## [Unable to exec npx commands since Node-Red update](https://discourse.nodered.org/t/unable-to-exec-npx-commands-since-node-red-update/85398)

<div class="topic-metadata">

**Author:** [@RomainGx](https://discourse.nodered.org/u/RomainGx)\
**Replies:** 0\
**Last updated:** [10 February 2024 14:48 UTC](https://discourse.nodered.org/t/unable-to-exec-npx-commands-since-node-red-update/85398 "2024-02-10T14:48:48Z")

</div>

Hello, I had an exec node that calls npm run tydom-client some other params I worked well until I upgraded Node-Red from version 3.0.x to version 3.1.x. But now it runs indefinitely. I saw nothing special when disp…

---

## [Running script from exec node error](https://discourse.nodered.org/t/running-script-from-exec-node-error/82696)

<div class="topic-metadata">

**Author:** [@rafterkai](https://discourse.nodered.org/u/rafterkai)\
**Replies:** 5\
**Last updated:** [7 November 2023 22:44 UTC](https://discourse.nodered.org/t/running-script-from-exec-node-error/82696 "2023-11-07T22:44:09Z")

</div>

I have made a script to print pdf files to a network printer using pdf-to-printer. When I run the script directly in the command prompt, it works fine but when I try to run the same command from inside node red using the…

---

## [Exec node exe has multiple msgs when there should be one (windows)](https://discourse.nodered.org/t/exec-node-exe-has-multiple-msgs-when-there-should-be-one-windows/82001)

<div class="topic-metadata">

**Author:** [@mored](https://discourse.nodered.org/u/mored)\
**Replies:** 3\
**Last updated:** [13 October 2023 13:22 UTC](https://discourse.nodered.org/t/exec-node-exe-has-multiple-msgs-when-there-should-be-one-windows/82001 "2023-10-13T13:22:50Z")

</div>

I have a C# console app that I've created that amongst other things runs a (sub?) process. When using the exec node to run the compiled binary the process that the exe creates seems to get picked up by node red. Can see …

---

## [How can I pass python script file and input image folder path as params using postman?](https://discourse.nodered.org/t/how-can-i-pass-python-script-file-and-input-image-folder-path-as-params-using-postman/81830)

<div class="topic-metadata">

**Author:** [@Ram1](https://discourse.nodered.org/u/Ram1)\
**Replies:** 17\
**Last updated:** [10 October 2023 12:27 UTC](https://discourse.nodered.org/t/how-can-i-pass-python-script-file-and-input-image-folder-path-as-params-using-postman/81830 "2023-10-10T12:27:51Z")

</div>

How can I pass python script file and input image folder path as params using postman body? and get from exec node as msg.payload and run the script file?

---

## [Need to expose the api](https://discourse.nodered.org/t/need-to-expose-the-api/81904)

<div class="topic-metadata">

**Author:** [@Ram1](https://discourse.nodered.org/u/Ram1)\
**Replies:** 3\
**Last updated:** [10 October 2023 08:10 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904 "2023-10-10T08:10:39Z")

</div>

want to pass the python file path and input image folder path as params in postman. I need to get the params in node red and run the py file and expose the api to get the data with status code of 200.

---

## [How to communicate continuously with python](https://discourse.nodered.org/t/how-to-communicate-continuously-with-python/81658)

<div class="topic-metadata">

**Author:** [@hosohoso](https://discourse.nodered.org/u/hosohoso)\
**Replies:** 2\
**Last updated:** [29 September 2023 20:13 UTC](https://discourse.nodered.org/t/how-to-communicate-continuously-with-python/81658 "2023-09-29T20:13:44Z")

</div>

Hi. Im looking for ways to communicate between node-red and python. Sample\_code.py while True: text = input() print(f'input = {text}') This python script is excuted using exec node in node-red Normaly input() is e…

---

## [Syntax error Node Exec](https://discourse.nodered.org/t/syntax-error-node-exec/80259)

<div class="topic-metadata">

**Author:** [@LinkView\_Maze](https://discourse.nodered.org/u/LinkView_Maze)\
**Replies:** 11\
**Last updated:** [2 August 2023 18:15 UTC](https://discourse.nodered.org/t/syntax-error-node-exec/80259 "2023-08-02T18:15:47Z")

</div>

Hello I willed create an automatism deleted folder if folder is to old. I have a varible in global with : -patch folder : /home/pi/Documents/ANPR/IMAGES/2023 -nbr\_day : 60 If inject with node inject this command thi…

---

## [Node-RED in a docker container doesn't seem to be able to execute some programs with the exec node](https://discourse.nodered.org/t/node-red-in-a-docker-container-doesnt-seem-to-be-able-to-execute-some-programs-with-the-exec-node/78826)

<div class="topic-metadata">

**Author:** [@RayMN](https://discourse.nodered.org/u/RayMN)\
**Replies:** 3\
**Last updated:** [30 May 2023 19:25 UTC](https://discourse.nodered.org/t/node-red-in-a-docker-container-doesnt-seem-to-be-able-to-execute-some-programs-with-the-exec-node/78826 "2023-05-30T19:25:33Z")

</div>

I'm running Node-RED in a docker container with a local Linux username "node-red" with a UID/GID=1000 (to match what is in the docker container) Here is the yaml file that start and runs Node-RED and MariaDB (not used y…

---

## [Exec node need administrative right in windows 10](https://discourse.nodered.org/t/exec-node-need-administrative-right-in-windows-10/78774)

<div class="topic-metadata">

**Author:** [@sdrshnptl](https://discourse.nodered.org/u/sdrshnptl)\
**Replies:** 4\
**Last updated:** [30 May 2023 06:18 UTC](https://discourse.nodered.org/t/exec-node-need-administrative-right-in-windows-10/78774 "2023-05-30T06:18:42Z")

</div>

Hello All, I'm trying to execute command from nodered exec node. This specific command only need admin right. Any alternative to execute admin level commands from nodered?

---

## [How to process variables into exec-node running a C-program](https://discourse.nodered.org/t/how-to-process-variables-into-exec-node-running-a-c-program/76562)

<div class="topic-metadata">

**Author:** [@textMARCer](https://discourse.nodered.org/u/textMARCer)\
**Replies:** 6\
**Last updated:** [15 March 2023 07:22 UTC](https://discourse.nodered.org/t/how-to-process-variables-into-exec-node-running-a-c-program/76562 "2023-03-15T07:22:30Z")

</div>

I hope I didn't miss any post or information which would resolve my issue, but I seem to be unable to find anything. I'm quite new to Node-Red and Node.Js in general, just been able to run a few other things yet, which …

---

## [Extracting and manipulating data with node exec](https://discourse.nodered.org/t/extracting-and-manipulating-data-with-node-exec/74789)

<div class="topic-metadata">

**Author:** [@felipeneves](https://discourse.nodered.org/u/felipeneves)\
**Replies:** 4\
**Last updated:** [6 February 2023 16:34 UTC](https://discourse.nodered.org/t/extracting-and-manipulating-data-with-node-exec/74789 "2023-02-06T16:34:42Z")

</div>

Hello everyone, everything good? I'm not a programmer, I'm from the computer network area, I have a problem with a flow, I'll try to explain what it does, I want it to read the files from inside the folder c:\\fotos\\3, a…

---

## [Exec node send an output payload on more than one message](https://discourse.nodered.org/t/exec-node-send-an-output-payload-on-more-than-one-message/74590)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 33\
**Last updated:** [3 February 2023 14:01 UTC](https://discourse.nodered.org/t/exec-node-send-an-output-payload-on-more-than-one-message/74590 "2023-02-03T14:01:25Z")

</div>

Hi,following this suggestion I'm using the template node to create aand save a python script, than the exec node to run it https://flows.nodered.org/flow/0a6e073bcd6bda364fafd32699837cc7 this is my exec node My pyt…

---

## [How to print labels by node-red, with Zebra ZD220 EPL printer](https://discourse.nodered.org/t/how-to-print-labels-by-node-red-with-zebra-zd220-epl-printer/74543)

<div class="topic-metadata">

**Author:** [@MichaelHilario](https://discourse.nodered.org/u/MichaelHilario)\
**Replies:** 0\
**Last updated:** [1 February 2023 10:29 UTC](https://discourse.nodered.org/t/how-to-print-labels-by-node-red-with-zebra-zd220-epl-printer/74543 "2023-02-01T10:29:05Z")

</div>

I want to make an application to print some fields of some modbus variables, send them to the printer in a standard label, the communication will be via USB. Does anyone have a similar application or some help regarding…

---

## [Connection of python script in node red](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770)

<div class="topic-metadata">

**Author:** [@Pawandeep](https://discourse.nodered.org/u/Pawandeep)\
**Replies:** 12\
**Last updated:** [18 January 2023 19:13 UTC](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770 "2023-01-18T19:13:48Z")

</div>

Hello Everyone, I want to ask how to install python libraries in node-red. I used a program given on this Node-RED only, where I had to create a python environment and bash flow. But Then there is an error "make is not…

[Next page](https://discourse.nodered.org/tag/exec/51.md?match_all_tags=true&page=1&tags%5B%5D=exec)
