Perl Script in background

Posted by himz on Stack Overflow See other posts from Stack Overflow or by himz
Published on 2010-05-26T16:36:09Z Indexed on 2010/05/26 16:41 UTC
Read the original article Hit count: 361

Filed under:
|
|

I have a perl script i made to automatically telnet into different servers . but its interface is only command line. To make it more user friendly for general windows users , i need to make GUI for it .

My idea is to make GUI in a language like VB,java ,etc and let that call perl script . my script will run in background in a command prompt and whatever the result it displays back in GUI.

Got some success. GUI in vb ,I run an instance of CMD in background ,run perl script in that .But that is wer program fails .As perl script runs in a thread for perl , i only get the output when script completes(rather say when it timeout). i need a mechanism where i can interact with the perl script , take output of script and show to user , then take input from user and so on .

Please can you all suggest me some way to actually make this happen.

PS: No limitation on using any language for GUI (as core work is done by perl script,GUI only there to give appropriate commands to script)

Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about perl