Jump to content

Can you do asynchronous processes in AutoIt?


vatobeto
 Share

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...