Skip to content

Commit

Permalink
dont execv
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalao authored and Jose Palao committed Apr 18, 2021
1 parent 63ec9f8 commit b02bbc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toke.c
Expand Up @@ -7199,9 +7199,11 @@ yyl_fake_eof(pTHX_ U32 fake_eof, bool bof, char *s)
else
newargv = PL_origargv;
newargv[0] = ipath;
#if !TARGET_OS_IPHONE
PERL_FPU_PRE_EXEC
PerlProc_execv(ipath, EXEC_ARGV_CAST(newargv));
PERL_FPU_POST_EXEC
#endif
Perl_croak(aTHX_ "Can't exec %s", ipath);
}
if (d) {
Expand Down

0 comments on commit b02bbc5

Please sign in to comment.