SuperScript::Software::ucspi-ipc

The ipccommand program


Interface

  ipccommand uid prog
where uid is a decimal user ID and prog is one or more arguments.

ipccommand is designed to run under ipcclient. It converts uid and prog to a request appropriate for transmission to ipcexec and writes the result to file descriptor 7. Thereafter, ipccommand reads data from file descriptor 0 and writes it to file descriptor 7. Simultaneously, it reads data from file descriptor 6 and writes it to file descriptor 1.

If ipccommand is invoked incorrectly it complains to standard error and exits 100. If it encounters a read or write error, ipccommand complains to standard error and exits 111. Otherwise, it exits 0.