Jump to content
Sign in to follow this  
vatobeto

Can you do asynchronous processes in AutoIt?

Recommended Posts

vatobeto

Hi.

I'm trying to spawn an asynchronous process, but AutoIt only seems to allow child processes via Run and ShellExecute, like the way system() and ShellExecute() behave in C++. Only there you can use spawnl(_P_NOWAIT...) to create an asynchronous process. I would like to have an AutoIt script call a C++ executable, which, in turn, runs two AutoIt scripts as asynchronous processes, so one can work with the other.

v.

Edited by vatobeto

Share this post


Link to post
Share on other sites
flyingboz

but AutoIt only seems to allow child processes via Run and ShellExecute, like the way system() and ShellExecute() behave in C++.

Run() vs RunWait() will do a fair bit for you. If you have control over all processes involved, then you can decide what semaphore paradigm you want to use to manage your IPC. If you're looking for multithreaded apps, you're likely better off in c++.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.