Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Oh Thanks. But this one is not executing the process.js. No file is created and no error logs Commented Mar 25, 2017 at 13:11
  • @RaR: It's those single quotes. Look at my edited answer for a resolution. HTH. Commented Mar 25, 2017 at 13:13
  • 1
    Without LOGFOLDER being exported (I see the edit does this in the one-line format) then it's set to nothing in the subshell; if you do an ls -a then you'll see the log file as a hidden .12345.log file in the current directory (if you have write access to it) Commented Mar 25, 2017 at 13:15