(minor) put some comments to show how to use the Process API.
parent
4b21c8bec1
commit
95b7b76f6c
|
@ -65,6 +65,9 @@ class AuthD::Request
|
||||||
# ENV
|
# ENV
|
||||||
{ "HOME" => "/", "LOGIN" => u_login, "TOKEN" => u_activation_key },
|
{ "HOME" => "/", "LOGIN" => u_login, "TOKEN" => u_activation_key },
|
||||||
true # clear environment
|
true # clear environment
|
||||||
|
# input: Process::Redirect::Inherit,
|
||||||
|
# output: Process::Redirect::Inherit,
|
||||||
|
# error: Process::Redirect::Inherit
|
||||||
).success?
|
).success?
|
||||||
raise "cannot contact user #{u_login} address #{u_email}"
|
raise "cannot contact user #{u_login} address #{u_email}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue