# Exec node is not responding

**URL:** <https://discourse.nodered.org/t/exec-node-is-not-responding/58740>\
**Category:** General\
**Created:** [21 February 2022 10:44 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740 "2022-02-21T10:44:27Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![SS-Akhilesh-Appala](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ss-akhilesh-appala/32/44482_2.png) [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Post date:** [23 February 2022 10:29 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/22 "2022-02-23T10:29:59Z")

</div>

yes, if the exec node executes for 1st time with out any redeployment it will generate the file

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 February 2022 10:30 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/23 "2022-02-23T10:30:39Z")

</div>

So is the problem that the file is not being created?

---

<div class="post-metadata">

**Author:** ![SS-Akhilesh-Appala](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ss-akhilesh-appala/32/44482_2.png) [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Post date:** [23 February 2022 10:32 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/24 "2022-02-23T10:32:07Z")

</div>

The problem is exec node on 1st deployment is not executed. But on redeploy without changes it is working great

---

<div class="post-metadata">

**Author:** ![SS-Akhilesh-Appala](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ss-akhilesh-appala/32/44482_2.png) [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Post date:** [23 February 2022 10:34 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/25 "2022-02-23T10:34:35Z")

</div>

I am now trying out with bigExec node.  
as EXEC node is not working out for me.

Can you please help me in sending the file paths(containing ) as strings(the string that contains three strings separated by a space, each string containing a full path to a filename) like above to the Big Exec node?

I need to send below to bigEXEC node as a parameters  
"""+msg.payload.inputFilePath+""" +" "+ """+ msg.payload.outputFilePath +""" +" "+ """+msg.payload.logicFilePath+""";

I mean to say i need to send 3 file paths in a string like below with real data  
"C:\input\_sample-xml1.xml" "C:\transformed\_input\_sample-xml1.xml" "C:\Users\DecryptedXML-text.imo"

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 March 2022 07:49 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/26 "2022-03-03T07:49:11Z")

</div>

with normal exec node, could you modify the function "sending parameters" to convert backslashes to forward slashes & add some `node.warn` so we can see what you are generating...

```auto
//check before
node.warn(["msg.payload.outputFoldePath", msg.payload.outputFoldePath])
node.warn(["msg.payload.outputFileName", msg.payload.outputFileName])
node.warn(["msg.payload.logicFilePath", msg.payload.logicFilePath])

//replace \ with /
const outputFilePath = msg.payload.outputFilePath.replace(/\\/g, "/");
const outputFoldePath = msg.payload.outputFoldePath.replace(/\\/g, "/")
const logicFilePath = msg.payload.logicFilePath.replace(/\\/g, "/")

//check after
node.warn(["outputFilePath", outputFilePath])
node.warn(["outputFoldePath", outputFoldePath])
node.warn(["logicFilePath", logicFilePath])

const filePath = `"${outputFoldePath}" "${outputFilePath}" "${logicFilePath}"`;
node.warn(["filePath", filePath])
msg.payload = filePath;

return msg;

```

---

<div class="post-metadata">

**Author:** ![SS-Akhilesh-Appala](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ss-akhilesh-appala/32/44482_2.png) [@SS-Akhilesh-Appala](https://discourse.nodered.org/u/SS-Akhilesh-Appala)\
**Post date:** [5 March 2022 06:06 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/27 "2022-03-05T06:06:29Z")

</div>

Thank you everyone for the support.  
The issue has been automatically solved when i updated the node-red version to ~1.3.5.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 March 2022 11:31 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/28 "2022-03-05T11:31:36Z")

</div>

> [@SS-Akhilesh-Appala](#):
>
> The issue has been automatically solved when i updated the node-red version to ~1.3.5.

Please be more explicit for future readers.

What issue? The `exec` node issue? the `bigExec` issue?

What version of node-red were you using?

* * *

PS: V2.2.2 is the latest version of node-red!

---

<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:** [4 May 2022 11:31 UTC](https://discourse.nodered.org/t/exec-node-is-not-responding/58740/29 "2022-05-04T11:31:52Z")

</div>

Closed on 4 May 2022 11:31 UTC

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

[Previous page](https://discourse.nodered.org/t/exec-node-is-not-responding/58740.md?page=1)
