We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I installed goon to get SIGKILL support when calling Process.stop/1 but it actually doesn't work. See this iex session:
Process.stop/1
iex(1)> p = Porcelain.spawn("bash", ["-c", "trap '' SIGTERM; echo sleeping...; sleep 30; date >here.txt"]) %Porcelain.Process{err: nil, out: :string, pid: #PID<0.315.0>} iex(2)> Porcelain.Process.await(p, 1000) {:error, :timeout} iex(3)> Porcelain.Process.stop(p) true iex(4)> File.read "here.txt" {:error, :enoent}
30 seconds later:
iex(5)> File.read "here.txt" {:ok, "Tue May 30 09:54:24 UTC 2017\n"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I installed goon to get SIGKILL support when calling
Process.stop/1
but it actually doesn't work. See this iex session:30 seconds later:
The text was updated successfully, but these errors were encountered: