Skip to content

Commit 73a0844

Browse files
committed
env: add FIXME comment about execvp()
Signed-off-by: Etienne Cordonnier <[email protected]>
1 parent dfcf1d0 commit 73a0844

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/uu/env/src/env.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ impl EnvAppData {
628628
argv.push(arg_cstring);
629629
}
630630

631+
// FIXME: libc::execvp() can be replaced with Command::exec() once https://github.com/rust-lang/rust/issues/97889#issuecomment-2007391597
632+
// is merged into rust stable.
633+
631634
// Execute the program using execvp. this replaces the current
632635
// process. The execvp function takes care of appending a NULL
633636
// argument to the argument list so that we don't have to.

0 commit comments

Comments
 (0)