put shell(“ls”) # for example
I got the error.
put Shell (“ls”)
<<NSException: 0x1e171c18> NAME:NSFileHandleOperationException REASON:read already in progress INFO:(null)>
result: -9999
Anybody knows why?
Thanks,
put shell(“ls”) # for example
I got the error.
put Shell (“ls”)
<<NSException: 0x1e171c18> NAME:NSFileHandleOperationException REASON:read already in progress INFO:(null)>
result: -9999
Anybody knows why?
Thanks,
Have you tried a format like this:
put shell("cd /; ls -l") into rootDirectoryList
log rootDirectoryList
Hope this helps,
Dave
Thanks Dave,
I tried, still failed the same reason …
put shell("cd /; ls -l ") into MyDir
result: -9999
log MyDir
5/5/22, 12:34:24 AM Log <<NSException: 0xe7455b8> NAME:NSFileHandleOperationException REASON:read already in progress INFO:(null)>
Your best option at this point is to submit a support request. I have not seen that error before, but our support team may have. Create A Support Ticket
Sorry that I was unable to resolve the issue,
Dave
Thanks Dave,
After a while, I found out we need to give the absolutely path of the script.
Before I just used the script name only.