LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2009, 12:49 AM   #1
sathiawathi.m
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Unhappy 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
 
Old 07-16-2009, 01:28 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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
 
Old 07-17-2009, 01:26 AM   #3
sathiawathi.m
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Thanks

Thanks a lot...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when invoking the values of variabled from different program vjayraghavan Linux - Newbie 6 05-21-2009 05:05 AM
Invoking script files from File Manager - HowTo ? longlostname Linux - Newbie 8 10-19-2008 01:36 PM
bash script--variables have unexpected values on invoking mplayer stairwayoflight Programming 5 07-08-2007 11:17 AM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 11:00 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration