Skip to content

Commit 1c5004d

Browse files
committed
Only set arg0 on unix
1 parent e9ca81c commit 1c5004d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ impl InputAction {
373373
Ok(cmd)
374374
} else {
375375
let mut cmd = Command::new(&built_binary_path);
376+
#[cfg(unix)]
376377
if let Some(original_script_path) = &self.original_script_path {
377378
cmd.arg0(original_script_path);
378379
}

0 commit comments

Comments
 (0)