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


Reply via email to