开发者

Simple bash problem related to executing command after previous has stopped (I am not programmer)

开发者 https://www.devze.com 2023-01-15 07:19 出处:网络
#!/bin/sh xmodmap -e \"keycode 49 = equal plus\" cd /media/5F53-7973/BGTrilogy开发者_如何转开发/
#!/bin/sh
xmodmap -e "keycode 49 = equal plus"
cd /media/5F53-7973/BGTrilogy开发者_如何转开发/
wine ./bgmain.exe
xmodmap -e "keycode 49 = dead_caron dead_tilde dead_caron dead_tilde notsign notsign"

Basically what I want from it is that the last entry would only run after I quit wine ./bgmain.exe.

What's the most foolproof way to do it?


Try adding wait on a line after the wine command.

0

精彩评论

暂无评论...
验证码 换一张
取 消