`/bin/ksh /path/to/script.ksh`
or
system( '/bin/ksh /path/to/script.ksh')
| [reply] [d/l] |
gsheehey, the period before ksh is what is killing you here. As b10m said, if you have your she-bang (#!/usr/local/bin/ksh for example) set right, you can just call the script (system('build.ksh'); if it's in your path, otherwise system('/home/gsheehey/build.ksh');), if not, you'll need to call ksh first (same thing about the path). | [reply] [d/l] [select] |
"Here is an example of what I am doing: ` . ksh build.ksh `; or this system (". ksh build.ksh ");
I'd say, just make sure your hashbang in build.ksh points out to your `ksh` shell binary and try it like this:
system('/path/to/build.ksh');
--
b10m
All code is usually tested, but rarely trusted.
| [reply] [d/l] |