[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
⎕FIO non Zero Return Code related to ⎕FX
From: |
Hans-Peter Sorge |
Subject: |
⎕FIO non Zero Return Code related to ⎕FX |
Date: |
Thu, 29 Oct 2020 21:06:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
Hi,
the Command is being correctly executed, the return codes are -10
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
⎕FIO[25] Handle
¯10
Command←'sed "s/x/y/g" <<< "sad x asds"'
Handle←⎕FIO[24] Command
D←⎕FIO[6] Handle
ZN←⎕UCS D
ZN
sad y asds
⎕FIO[25] Handle
¯10
However starting a new apl session gives:
Command←'sed "s/x/y/g" <<< "sad x asds"'
Handle←⎕FIO[24] Command
D←⎕FIO[6] Handle
ZN←⎕UCS D
⎕FIO[25] Handle
0
'libedif2.so' ⎕FX 'E'
E
Command←'sed "s/x/y/g" <<< "sad x asds"'
Handle←⎕FIO[24] Command
D←⎕FIO[6] Handle
ZN←⎕UCS D
⎕FIO[25] Handle
¯10
I have not checked other native functions.
Regards
Hans-Peter
- ⎕FIO non Zero Return Code related to ⎕FX,
Hans-Peter Sorge <=