I'm seeing a related issue, but it seems to me there's two distinct problems here:
1) Mojo swallows stdout / stderr for script phases.
2) stdin isn't connected to script phases.
My problem is with #1 above. My scripts write to stdout to indicate progress, and stderr to give additional debugging information on a failure. If the scripts fail right now, all I get is a generic "this script phase failed" message.
A simple fix here would be to include the script stdout and stderr in the error mesage when the script fails.
A more complex (and complete) fix would be to not capture stdout stderr, but instead allow the script process to inherit mojo's stdout & stderr handles (this would also resolve the issue of stdin not working).
Hi,
I'm seeing a related issue, but it seems to me there's two distinct problems here:
1) Mojo swallows stdout / stderr for script phases.
2) stdin isn't connected to script phases.
My problem is with #1 above. My scripts write to stdout to indicate progress, and stderr to give additional debugging information on a failure. If the scripts fail right now, all I get is a generic "this script phase failed" message.
A simple fix here would be to include the script stdout and stderr in the error mesage when the script fails.
A more complex (and complete) fix would be to not capture stdout stderr, but instead allow the script process to inherit mojo's stdout & stderr handles (this would also resolve the issue of stdin not working).