Restored from previous forum. Originally posted by ajm.
Hi
Can someone explain how to capture the output from an external program run from a purebasic program.
For example capture the output of compiler, tool, ping command etc.
Thanks
Andy
Registered PB User
Windows XP Home
Capture program output
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Rings.
there is a very handy function in this forum, called 'Search'
btw. hee is a direct link:
viewtopic.php?t=3704
Its a long way to the top if you wanna .....CodeGuru
there is a very handy function in this forum, called 'Search'
btw. hee is a direct link:
viewtopic.php?t=3704
Its a long way to the top if you wanna .....CodeGuru
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by ricardo.
Best Regards
Ricardo
Dont cry for me Argentina...
If you try "Capture OutPut" in the search you can find all the solutions that was given to different situations, like El_Choni's lib. CGI that could help you.I tried the serch function several times with different criteria but it kept comming back with no results.
Best Regards
Ricardo
Dont cry for me Argentina...
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by El_Choni.
Just one question: you want to start a program from PB, capture its output and close it, or you also need to write to it afterwards? (ricardo knows these are two different things...
BTW, I hope I will be able to take a look at the thing this weekend, but if you haven't achieved it, I don't know if I'll be able to do so. IIRC, you posted and example long ago of capturing program's output, didn't you?
El_Choni
Just one question: you want to start a program from PB, capture its output and close it, or you also need to write to it afterwards? (ricardo knows these are two different things...
El_Choni
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by ajm.
Hi
The link supplied by Rings was perfect, Thanks.
I'm not sure why the search kept comming up with no results, It was even doing it if I put in the word Purebasic or and.
Not to worry it all seems to be working now ...
I amazes me how fast you peoples respond to the posts on this forum, its as if you sit and monitor them all day.
Your all a great help to each other.
Thanks
Andy
Registered PB User
Windows XP Home
Hi
The link supplied by Rings was perfect, Thanks.
I'm not sure why the search kept comming up with no results, It was even doing it if I put in the word Purebasic or and.
Not to worry it all seems to be working now ...
I amazes me how fast you peoples respond to the posts on this forum, its as if you sit and monitor them all day.
Your all a great help to each other.
Thanks
Andy
Registered PB User
Windows XP Home