Copyright © 2015-2020 Michael Santos <michael.santos@gmail.com>
Behaviours: gen_server.
call/4 | Make a synchronous call into the port driver. |
stdin/3 | Send standard input to process. |
stop/1 |
call(PrxDrv::pid(), Chain::[prx:pid_t()], Call::atom(), Argv::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"]])
stdin(PrxDrv::pid(), Chain::[prx:pid_t()], Buf::iodata()) -> ok
Send standard input to process.
stop(PrxDrv::pid()) -> ok
Generated by EDoc