草庐IT

unixCommand

全部标签

java - 运行位于服务器上并映射为 U ://dirver on windows from windows in java application? 的 unix shell 脚本

当我运行runShellScript(unixCommand);时出现以下错误:sh.exe已停止工作。谁能告诉我问题是什么以及如何解决?#!/bin/sh#thisassumeswebserverisrunningonport8080echo"Deployeverythingfirst"echo"Thesenext3shouldwork..."echo"Therestoftheseshouldfail...(nicelyofcourse)"echo"Thisshouldworkbutprintdebuginfoontheclientandserver"#Nowundeployever