///
/// Set the first process argument, `argv[0]`, to something other than the
/// default executable path.
- #[unstable(feature = "process_set_argv0", issue = "66510")]
+ #[stable(feature = "process_set_argv0", since = "1.45.0")]
fn arg0<S>(&mut self, arg: S) -> &mut process::Command
where
S: AsRef<OsStr>;
///
/// Set the first process argument, `argv[0]`, to something other than the
/// default executable path.
- #[unstable(feature = "process_set_argv0", issue = "66510")]
+ #[stable(feature = "process_set_argv0", since = "1.45.0")]
fn arg0<S>(&mut self, arg: S) -> &mut process::Command
where
S: AsRef<OsStr>;
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-sgx no processes
-#![feature(process_set_argv0)]
-
use std::os::unix::process::CommandExt;
use std::process::Command;
// ignore-cloudabi no processes
// ignore-emscripten no processes
// ignore-sgx no processes
-#![feature(process_set_argv0)]
-
use std::env;
use std::os::unix::process::CommandExt;
use std::process::Command;