Hey all,
I am building an interface in Cocoa with Objective C which performs some function on an input file. I want to call the Terminal and run a script with that input file. For example,
system('script.pl input.fa');
I am able to do run the script by hardcoding the inputfile name. However, I want to include a variable file name which depends on the input file, the user choose.
How to include a variable in system call?
Thanks for your help,
Cheers,
Khanjan
I am building an interface in Cocoa with Objective C which performs some function on an input file. I want to call the Terminal and run a script with that input file. For example,
system('script.pl input.fa');
I am able to do run the script by hardcoding the inputfile name. However, I want to include a variable file name which depends on the input file, the user choose.
How to include a variable in system call?
Thanks for your help,
Cheers,
Khanjan