You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks. There's a bug in goon that prevents signals from being delivered, see alco/goon#6.
You should be able to work around it by providing some input to the spawned process, for example, in: "ignore me".
Unfortunately, I can't say when I'll be able to fix this. I have plans to release a new version of Porcelain with a bunch of fixes at some point, but no defined dates at this point.
Signals do not work, at least on OSX with goon:
iex(3)> proc = Porcelain.spawn("sleep", ["30"], [])
%Porcelain.Process{err: nil, out: :string, pid: #PID<0.153.0>}
iex(4)> Porcelain.Process.signal proc, 15
{:signal, 15}
iex(5)> Porcelain.Process.signal proc, :kill
{:signal, :kill}
iex(6)>
I still keep seeing the process:
$ ps axww | fgrep sleep
48681 ?? Ss 0:00.01 /usr/local/bin/goon -proto 2.0 -out -- /bin/sleep 30
48682 ?? S 0:00.00 /bin/sleep 30
48690 s007 S+ 0:00.00 fgrep sleep
The text was updated successfully, but these errors were encountered: