You are not logged in.
Pages: 1
I have tried to do the following from a script and terminal will only run first command then closes;
# xfce4-terminal -x 'jclean ; echo ; read -p 'Press ENTER to close window'''
any ideas how to make this work?
I am using xubuntu 12.04
Last edited by orphius70 (2014-08-20 05:10:36)
Offline
Try && instead of ; ?
Regards,
MDM
Offline
sorry, i should have mentioned, i have tried the &&, &. Also setting a function and setting a variable inside script.
none have worked.
Offline
I don't think xfce4-terminal process commands like that. You need to imbed them with a call to the interpreter. Try:
xfce4-terminal -x bash -c 'jclean ; echo ; read -p "Press ENTER to close window"'
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ToZ... THANK YOU!
That worked exactly as needed. If I might suggest this might be a good subject to add to wiki?
Offline
Pages: 1
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 525.22 KiB (Peak: 526.5 KiB) ]