summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index 5fee08383..bda6045ac 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -706,7 +706,7 @@ mod deprecated {
let env = run_args.env;
let cwd = run_args.cwd;
- let mut c = Command::new(args.get(0).unwrap());
+ let mut c = Command::new(args.first().unwrap());
(1..args.len()).for_each(|i| {
let arg = args.get(i).unwrap();
c.arg(arg);