Logiweb(TM)

7.16.16 execlp1

Prev Up Next Page 287 of 800 Search internet


An execlp1 request runs a program p with one argument a in directory d and waits for the program to exit:

eager define execlp1 ( d , p , a ) as lgcio ( Execlp1 :: d :: EOS :: p :: EOS :: a :: EOS ) end define

The reply has form

<< << r ,, i >> ,, p >>

where p is a one element list containing one one-byte string. The byte is the return value of the program.

The 1 in execlp1 refers to the number of arguments. The execlp1 request is implemented by the execlp() unix call. The search path is used to locate the command.

Prev Up Next Page 287 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05