Skip to content

Commit 6ac28c2

Browse files
committed
strip accidentally added duplicate nqp_spawn op
1 parent aca76d0 commit 6ac28c2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/vm/parrot/ops/nqp.ops

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3704,20 +3704,6 @@ inline op nqp_getlexrelcaller(out PMC, in PMC, in STR) :base_core {
37043704
$1 = result;
37053705
}
37063706

3707-
inline op nqp_spawn(out INT, in PMC, in STR, in PMC) {
3708-
STRING *dir = $3;
3709-
PMC *env = $4;
3710-
char *const *argv = pack_arg_array(interp, $2);
3711-
char *args = create_command_line(argv);
3712-
STRING *command = Parrot_str_new(interp, args, 0);
3713-
STRING * const old_cwd = Parrot_file_getcwd(interp);
3714-
Parrot_str_free_cstring(args);
3715-
3716-
Parrot_file_chdir(interp, dir);
3717-
$1 = Run_OS_Command(interp, command, env);
3718-
Parrot_file_chdir(interp, old_cwd);
3719-
}
3720-
37213707
inline op nqp_delete_f(out INT, in STR) :base_core {
37223708
#ifdef WIN32
37233709
char* const filename = Parrot_str_to_platform_cstring(interp, $2);

0 commit comments

Comments
 (0)