LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-21-2009, 01:31 PM   #1
veereshm
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
how to execute scripts on opened tool from perl?


i can interact with my H5 board only by Shell script,Problem here is i need to open that H5 board tool and execute scripts using perl.

system("tool.exe");
need to run script ./MP_strm1_.sh on tool.exe
after first stream i need to handle exceptions and then ./MP_strm2.sh and so on.


Thanks in Advance,
veereshm
 
Old 01-21-2009, 05:50 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
I'm not 100% clear on your qn, but sounds like you want one or other of these modules:
http://perldoc.perl.org/IPC/Open2.html
http://perldoc.perl.org/IPC/Open3.html
 
  


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
while loop creates a problem for a file opened in append mode for writing in PERL gaynut Programming 2 07-28-2008 07:26 PM
How to execute commands within a subshell opened by another command? plin Programming 3 02-11-2008 08:19 AM
Apache2 on Debian won't execute perl cgi scripts, have tried chmod, Options ExecCGI dewert Linux - Software 1 07-03-2006 12:44 PM
cant execute any scripts Phonics3k Linux - Newbie 2 06-19-2002 08:00 AM
Can't execute *.cgi scripts. BrianG Linux - General 1 04-11-2001 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 AM.

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