running and manipulating an executable.

I would like to start a program and then manipulate it without loosing the process.  I see it as a simple process but am not able to find a solution.  i would like to use Win32::CtrlGUI for it but that particular module won't start the executable.  there are other methods of starting the executable like Win32::Process and Win32::Spawn but both seem to hang.

Any suggestions will be appreciated.
ralphsautoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

inq123Commented:
Hi ralphsauto,

try use threads or Thread modules.  Upgrade your ActivePerl to 5.8 to use those (prior to 5.8 the implementation was not stable/good).

Cheers!
0
ralphsautoAuthor Commented:
Thanks for the idea, but I don't understand how this would do what I want it to.  Let's Take a blank notepad for example, how would I enter information into it then print it and exit the program with a script?
0
ralphsautoAuthor Commented:
Would not fork() be a better way to do things?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

ralphsautoAuthor Commented:
I am using activestate perl on win2000
0
ralphsautoAuthor Commented:
Can you give me a brief tutorial as to how to use threads or fork?
0
sstoukCommented:
Perhaps you do not want it more complicated than it should be.
Would you like to just Automate End-User input for the started application based on the buttons and screens available within the application?
Easier than Perl is AutoIt utility.
http://www.hiddensoft.com/autoit3/index.php

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ralphsautoAuthor Commented:
Thanks for your suggestion, I have done some looking but can you give me some pointers to use?  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.