You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem, when I ran this method, all code like this does not work anymore (it's trhow an error like "path is not found...")
File testFile = new File("test.txt");
testFile.createNewFile();
I found the cause, that in the library (from my code the "nodeRuntime.getExecutor") there is a "chdir" command executed, and the working directory is never back again.
I have a simple workaround, it's to get the current directory before executing "getExecutor" and restore it after.
I write this wrapper for my application to use the capability to running a node script, with the version v3.0.0
The problem, when I ran this method, all code like this does not work anymore (it's trhow an error like "path is not found...")
I found the cause, that in the library (from my code the "nodeRuntime.getExecutor") there is a "chdir" command executed, and the working directory is never back again.
I have a simple workaround, it's to get the current directory before executing "getExecutor" and restore it after.
The text was updated successfully, but these errors were encountered: