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.
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.

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).

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?
ralphsautoAuthor Commented:
Would not fork() be a better way to do things?
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
ralphsautoAuthor Commented:
Can you give me a brief tutorial as to how to use threads or fork?
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.


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?  
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

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.