![]() |
|
Solaris SUN Solaris & OpenSolaris. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
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. |
|
||||
![]()
Ya that worked thank you so much
![]() For now i used what you had metioned. sh -c "mkisofs -o session.iso -R session && cdrecord dev=7,1,0 -v -sao session.iso" And you were right about the quotes. i was missing the last one and it did not work till i put it in. Later on i will play with that additional option you added Thanks again
__________________
The journey is better then the destination |
|
||||
![]()
missing the darn quotes is the worlds most common goof up :-(, my shell often shouts at me as well lol. On shell script, you basically put a '#!/bin/sh' on the first line of the file, then write in commands as if each line of text was a command line in your shell. Then save it, set the file executable with chmod, so you can run it like a program (e.g. '$ ~/test.sh')
__________________
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''. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: Encoding // Pure Terminal // Virtual Terminal | vermaden | Guides | 1 | 25th June 2010 08:02 AM |
Sending PRs through KMail | BSDKaffee | Guides | 0 | 8th October 2008 10:39 PM |
Mutt not sending email | cssgalactic | FreeBSD General | 4 | 3rd July 2008 09:54 PM |
System stopped sending e-mail messages. | bigb89 | FreeBSD General | 4 | 30th June 2008 05:20 PM |