PDA

View Full Version : [ubuntu] shell scripts, 2 files and wait command?



Kaymeerah
September 16th, 2009, 09:36 PM
#! /bin/sh
# EVE
#
#
metacity --replace
cd /home/kaymeerah/.wine/drive_c/EVE && wine eve.exe && wait -1 ; compiz --replace


thats my shell script, however thanks to EVE launching an exe file JUST for the splash, THEN ExeFile.exe, it starts compiz again when eve.exe dies, any ideas how i can wait for ExeFile.exe?

bodhi.zazen
September 16th, 2009, 10:09 PM
use sleep


sleep 1

Kaymeerah
September 16th, 2009, 11:04 PM
i cant use sleep, it just doesnt fit in