prx_drv (prx v0.14.1) View Source
Link to this section Summary
Link to this section Functions
Specs
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, ForkChain, execve,
["/bin/ls", ["/bin/ls", "-al"], ["HOME=/home/foo"]])
Specs
stdin(pid(), [prx:pid_t()], iodata()) -> ok.
Specs
stop(pid()) -> ok.