Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
strip accidentally added duplicate nqp_spawn op
  • Loading branch information
FROGGS committed Oct 29, 2013
1 parent aca76d0 commit 6ac28c2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/vm/parrot/ops/nqp.ops
Expand Up @@ -3704,20 +3704,6 @@ inline op nqp_getlexrelcaller(out PMC, in PMC, in STR) :base_core {
$1 = result;
}

inline op nqp_spawn(out INT, in PMC, in STR, in PMC) {
STRING *dir = $3;
PMC *env = $4;
char *const *argv = pack_arg_array(interp, $2);
char *args = create_command_line(argv);
STRING *command = Parrot_str_new(interp, args, 0);
STRING * const old_cwd = Parrot_file_getcwd(interp);
Parrot_str_free_cstring(args);

Parrot_file_chdir(interp, dir);
$1 = Run_OS_Command(interp, command, env);
Parrot_file_chdir(interp, old_cwd);
}

inline op nqp_delete_f(out INT, in STR) :base_core {
#ifdef WIN32
char* const filename = Parrot_str_to_platform_cstring(interp, $2);
Expand Down

0 comments on commit 6ac28c2

Please sign in to comment.