add warning to spawn function
This commit is contained in:
parent
a98e079669
commit
475afbc7ce
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ impl fmt::Display for SpawnError {
|
|||
}
|
||||
}
|
||||
|
||||
/* !!! The argument list could be exploited in a way to inject malicious arguments !!!
|
||||
!!! and alter the way program executes and/or gain access to system !!! */
|
||||
pub async fn spawn<I, S>(program: &str, args: I) -> Result<Output, SpawnError>
|
||||
where
|
||||
I: IntoIterator<Item = S>,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue