1 // This test ignores some platforms as the particular extension trait used
2 // to demonstrate the issue is only available on unix. This is fine as
3 // the fix to suggested paths is not platform-dependent and will apply on
4 // these platforms also.
8 // ignore-sgx no processes
10 use std::process::Command;
11 // use std::os::unix::process::CommandExt;
14 Command::new("echo").arg("hello").exec();
15 //~^ ERROR no method named `exec`