(minor) put some comments to show how to use the Process API.

master
Philippe Pittoli 2024-02-20 23:26:33 +01:00
parent 4b21c8bec1
commit 95b7b76f6c
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ class AuthD::Request
# ENV
{ "HOME" => "/", "LOGIN" => u_login, "TOKEN" => u_activation_key },
true # clear environment
# input: Process::Redirect::Inherit,
# output: Process::Redirect::Inherit,
# error: Process::Redirect::Inherit
).success?
raise "cannot contact user #{u_login} address #{u_email}"
end