Tag: grunt shell

如何解决“input设备不是TTY”使用grunt-shell来调用docker运行的脚本?

当发出grunt shell:test ,我得到警告“input设备不是TTY”,不想使用-f : $ grunt shell:test Running "shell:test" (shell) task the input device is not a TTY Warning: Command failed: /bin/sh -c ./run.sh npm test the input device is not a TTY Use –force to continue. Aborted due to warnings. 这里是Gruntfile.js命令: shell: { test: { command: './run.sh npm test' } 这里是run.sh : #!/bin/sh # […]