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
This would enforce the usage of the :params when needed, and a user would not be able to bypass it. If they are going to bypass anyway, then there is no point in using AwesomeSpawn.
The only use case we might have to account for is sudo. I say might, because one case easily do
AwesomeSpawn.run!("sudo",:params=>["echo","hi")
But that is kind of weird. I think I'd prefer another param:
Which would be nice because a caller could build the options and call it, then on failure just tack in another option (instead of having to re-call AwesomeSpawn and reorder all of the params.
The text was updated successfully, but these errors were encountered:
This would enforce the usage of the :params when needed, and a user would not be able to bypass it. If they are going to bypass anyway, then there is no point in using AwesomeSpawn.
The only use case we might have to account for is
sudo
. I say might, because one case easily doBut that is kind of weird. I think I'd prefer another param:
Which would be nice because a caller could build the options and call it, then on failure just tack in another option (instead of having to re-call AwesomeSpawn and reorder all of the params.
The text was updated successfully, but these errors were encountered: