-
Notifications
You must be signed in to change notification settings - Fork 744
Closed
Description
Node version (or tell us if you're using electron or some other framework):
v6.9.2
ShellJS version (the most recent version/Github branch you see the bug on):
"version": "0.7.8"
Operating system:
mac 10.12.5 (16F73)
Description of the bug:
when i use shelljs to run xcodebuild,error,see pic;
but run terminal directly,its ok,see pic
hope help~~~
Example ShellJS command to reproduce the error:
var sh = 'source /etc/profile; source ~/.bash_profile; ' +
'cd "' + projectPath + '"; ' +
'xcodebuild -scheme Taobao4iPhone SYMROOT="' +
appBuildPath +
'" -destination "name=iPhone 6" -workspace Taobao4iPhone.xcworkspace ' +
'-configuration Release clean build'
shell.echo(sh);
shell.exec(sh, { async: false, maxBuffer: 200 * 1024 * 1024 });Metadata
Metadata
Assignees
Labels
No labels

