I have bash script and i want to execute it in Ubuntu by double-clicking on that script
gnome-terminal -x sh -c '$(pwd)/copyResources.sh; exec bash'
This call gnome-terminal when i execute copyResources.sh. But it keep open recursively new windows. How to avoid that?
我刚刚链接到脚本,它运行得很好
gnome-terminal -x sh -c '/home/scripts/copyResources.sh; exec bash'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.