LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-23-2010, 06:11 AM   #1
casperdaghost
Member
 
Registered: Aug 2009
Posts: 348

Rep: Reputation: 16
perl script tp open an xterm window and run a command.


thanks you

Last edited by casperdaghost; 07-23-2010 at 06:14 PM.
 
Old 07-23-2010, 03:10 PM   #2
LunixKing
LQ Newbie
 
Registered: Dec 2009
Distribution: debian
Posts: 4

Rep: Reputation: 0
Just hazarding a guess, is it possible the regex in "if ($process =~ /Missing:/) {" isn't matching? As in if the output had a lower case "m" instead of the capital "M", or possibly you might need to escape out the colon "\:"? Again, just a guess because everything looks fine otherwise.
 
Old 07-25-2010, 03:49 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Err... what happened to the script; its gone.
 
  


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
[SOLVED] Run Script In New Window & Keep Window Open Ben2K Programming 2 07-06-2010 02:28 AM
TERM=xterm iftop run in php (size of window). tsukasagenesis Linux - Networking 0 05-02-2010 04:15 PM
[SOLVED] Script to open all subdirectories of a single directory and then run a command (help) Euler2 Linux - Newbie 7 03-24-2010 11:16 PM
bash script - open new window running a command zippity Linux - Newbie 1 07-13-2004 12:16 PM
How to run a bash command in the background from perl script professorfrink Programming 3 11-13-2003 04:02 PM


All times are GMT -5. The time now is 01:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration