Hello Jüregen,
I now have executed like code multiple times from a function.
Only for the last execution returns -10.
May be some race condition.
Thank You for the explanation.
Best Regards
Hans-Peter
Am 30.10.20 um 14:20 schrieb Dr. Jürgen Sauermann:
Hi Hans-Peter,
I have checked the ⎕FIO
Hi Hans-Peter,
I have checked the ⎕FIO code and it looks correct to me.
In your first example I get the result that you are expecting:
* Command←'echo "sad x asds" | sed "s/x/y/g"'**
** Handle←⎕FIO[24] Command**
** D←⎕FIO[6] Handle**
** ZN←⎕UCS D**
** ZN **
**sad y asds