John Gordon created PIG-2801: -------------------------------- Summary: grunt "sh" command should invoke the shell implicitly instead of calling exec directly with the command tokens Key: PIG-2801 URL: https://issues.apache.org/jira/browse/PIG-2801 Project: Pig Issue Type: Sub-task Reporter: John Gordon
The "sh" command in grunt is very sensitive to the behavior of exec. It requires that you provide an executable filename as the first argument, and those are sort of up for interpretation from platform to platform. For this to easily handle batch scripts, built-in commands, and executables with one semantic, it should spin up an intermediate command-shell. This would translate "sh <command>" into "exec("sh" ["-c", <command>])". This helps to smooth out some of the operating system differences between Windows and Linux, and also improves usability of grunt as a whole. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira