For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2006 > Collect out from executed program









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Collect out from executed program
O. Olson

2006-01-10, 4:02 am

Hi,
I am sorry if you are getting this a second time. I posted this about
10 hours ago through google, and it seems that it has still not
appeared.

I want to grab the output of a program (called via a perl script).
Assuming the program or executable is located at
"/home/masca/org/10/exe" I have tried something like

open(OUTPUT, `"\/home\/masca\/org\/10\/exe"`);
while(<OUTPUT> ) {
print;
}

This results in nothing happening. Does anyone have any ideas what I
might be doing wrong?
Thanks a lot.
O.O.

olson_ord@yahoo.it

2006-01-10, 4:02 am

Please Ignore this post. I had actually posted this yesterday i.e. the
day before I posted a topic titled "Execute Command & Capture Output"
at
http://groups.google.com/group/perl...f374c893a5b5d9a


Unfortunately due to some problem with the google servers - this post
got delayed by more than a day. Even now when I replied to that post I
got
We were unable to post your message
Warning 400 load at 22.31, try later -- Article will be spooled. Can't
send text to server, No space left on device.

I am sorry for this multiple post.

O.O.

usenet@DavidFilmer.com

2006-01-10, 4:02 am

O. Olson wrote:
>I posted this about 10 hours ago through google, and it seems that it has still not
> appeared.


FWIW, it can sometimes take even longer for messages to propigate
through usenet (this is not a message board, where replies appear
immediately). Usenet is a vast collection of thoursands of servers. I
did post a reply to your original post, BTW.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com