[erlang-questions] How to kill a process started with open_port({spawn_executable, ... ?

Max Lapshin max.lapshin@REDACTED
Thu Aug 25 18:44:35 CEST 2011

> Yeah, I was staring down that alleyway and thought, there must be something
> better. 'Twould be nice if we had a port_close/2, that could take an option
> to choose between killing or detaching from the OS process. But I guess
> that's tricky, 'cause ports are so versatile.
> Thanks for the link to the CouchDB approach, I might head down that route
> after all.

It tried to add something like os:get_pid(Port) and os:kill(Pid,
Signal)  but failed to launch OTP test infrastructure

More information about the erlang-questions mailing list