Permalink
Browse files

properly return exit code from shell()

  • Loading branch information...
1 parent 1f87209 commit 9d2f552d768563416a0f8c7d38f8cd3c57d9a546 @FROGGS FROGGS committed Aug 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/CORE.setting
View
@@ -4153,7 +4153,7 @@ sub rmdir($filename) is unsafe {
}
sub shell($command) is unsafe {
- Q:CgOp { (box Int (command_system (obj_getstr {$command}))) };
+ Q:CgOp { (box Int (command_system (obj_getstr {$command}))) } +> 8;
}
sub run(*@argv, :%env = %*ENV) is unsafe {

0 comments on commit 9d2f552

Please sign in to comment.