We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a631f commit ff6b398Copy full SHA for ff6b398
library/std/src/sys/process/unix/unix.rs
@@ -89,7 +89,6 @@ impl Command {
89
// The child calls `mem::forget` to leak the lock, which is crucial because
90
// releasing a lock is not async-signal-safe.
91
let env_lock = sys::env::env_read_lock();
92
-
93
let pid = unsafe { self.do_fork()? };
94
95
if pid == 0 {
@@ -860,7 +859,6 @@ impl Command {
860
859
// Safety: -1 indicates we don't have a pidfd.
861
let mut p = Process::new(0, -1);
862
863
- // FIXME: if a list of paths to search is passed then retry for every path.
864
let spawn_res = spawn_fn(
865
&mut p.pid,
866
self.get_program_cstr().as_ptr(),
0 commit comments