I'm trying to run a wolframscript by run
The script file is too lengthy to be presented here. At the end of the script, I add
$Output=OpenWrite["my/file"]; Print["mymessage"]; Exit;
The message "mymessage" can be seen in "my/file", which shows that the script is run over. However, the runprocess doesn't stop. Does anyone meet similar problem?