View Single Post
  #2   (View Single Post)  
Old 24th December 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

It's always possible that the launcher uses exec(), which basically launches a program the way the shell does, rather then through the shell itself.

you could try: sh -c "mkisofs -o session.iso -R session && cdrecord dev=7,1,0 -v -sao session.iso" if you want 1 launcher. But note, the commands after sh -c must be quoted when the shell sees it, or it won't work right.

Another way would be to create a shell script with the commands, and execute the shell script from the launcher. In my home directory, I have a ~/sh folder in my $PATH; just for personal scripts and programs (some people use ~/bin), which I made for situations like these.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.

Last edited by TerryP; 24th December 2008 at 05:57 PM.
Reply With Quote