View Source prx_drv (prx v0.16.4)
Link to this section Summary
Link to this section Functions
-spec call(pid(), [prx:pid_t()], atom(), list()) -> any().
Make a synchronous call into the port driver.
The list of available calls and their arguments can be found here:
https://github.com/msantos/alcove#alcove-1
For example, to directly call alcove:execve/5
:
call(Drv, Pipeline, execve,
["/bin/ls", ["/bin/ls", "-al"], ["HOME=/home/foo"]])
-spec stdin(pid(), [prx:pid_t()], iodata()) -> ok.
-spec stop(pid()) -> ok.