我试图编写一个脚本来启动我的开发环境。为了完成这个任务,我要打开一个gnome终端,并在其中启动rails服务器和autotest。
但是:
另外,这个也不行:
gnome-terminal --tab -e "rails server" --tab --tab会出现错误("error creating the child process")。
另外,这个也不行:
gnome-terminal --tab -e "bash -c \"rails server\"" --tab --tab`你有什么解决方法吗?