Permalink
Browse files

Explicitly pass a command and args to exec

  • Loading branch information...
1 parent 6a4f69d commit 1e05463c44c751479bc9a239e29c7d3e7f835513 @jstorimer committed Mar 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 shirt
View
2 shirt
@@ -11,7 +11,7 @@ def main
BUILTINS[command].call(*arguments)
else
pid = fork {
- exec line
+ exec command, *arguments
}
Process.wait pid

0 comments on commit 1e05463

Please sign in to comment.