[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

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.
0
ralphsauto
Asked:
ralphsauto
  • 5
1 Solution
 
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
ralphsautoAuthor Commented:
Thanks for your suggestion, I have done some looking but can you give me some pointers to use?  
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now