LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Invoking .sh file using the UI values in linux (https://www.linuxquestions.org/questions/linux-newbie-8/invoking-sh-file-using-the-ui-values-in-linux-740424/)

sathiawathi.m 07-16-2009 12:49 AM

Invoking .sh file using the UI values in linux
 
How to use the values from Dialog UI which has been developed using Perl and called inside a .sh file, as command line arguments in .sh file in linux

chrism01 07-16-2009 01:28 AM

Do you mean you want Perl to call a .sh file, passing cmd line args?
If so, look into system() or qx or `blah.sh arg1 arg2`

http://perldoc.perl.org/functions/system.html
http://perldoc.perl.org/perlop.html#...tors%26quot%3b
http://perldoc.perl.org/perlop.html#...tors%26quot%3b

Possibly exec if you don't need it to return
http://perldoc.perl.org/functions/exec.html

sathiawathi.m 07-17-2009 01:26 AM

Thanks
 
:) Thanks a lot...


All times are GMT -5. The time now is 04:19 AM.