Page 1 of 1

GUI/Dialogs for command line tools

Posted: Thu Jun 25, 2009 8:59 pm
by kns
I'm searching for a utility that will provide the means to run existing command line tools, in this case data analysis, so that the output can be captured to an editable window or box. No doubt such an application already exists consequently any pointers would be most appreciated.

Thanks.

Posted: Fri Jun 26, 2009 12:26 am
by thefool
It wouldn't take much time writing such an utility using purebasic :)
#PB_Program_Open : Open the program to communicate with it or get information about it.
#PB_Program_Read : Read the programs console output. (stdout)
#PB_Program_Write : Write to the input of the program. (stdin)
#PB_Program_Error : Read the error output of the program. (stderr)
#PB_Program_Connect: Connect another programs output to this programs input.

Posted: Fri Jun 26, 2009 4:16 am
by rrpl
Too easy to write one in purebasic, and an excellent early project for any PB beginner. :) Go on give it a go, you'll surprise yourself. If you have any problems simply ask in the "coding questions" section.

Posted: Tue Jun 30, 2009 7:42 pm
by V2
Use a pipe?

e.g.:
C:\dir > file.txt