Jump to content

Recommended Posts

Posted

Run( "cmd.exe" )
 ConsoleWrite( "Now should exit!" )
 Exit

The following code will not exit until the child process cmd.exe exits... was this always the case? If yes, I'd like to know why (to educate my self).

How can I avoid this?

Thanks!

RK

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

Posted

darn!

It looks like AutoIt is not forking the child process properly

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

  • Developers
Posted (edited)

It isn't a Autoit3 issue because you will see in the Taskmanager that AutoIt3.exe is finishes fine.

Add this to your SciTEuser.properties and try again:

command.go.$(au3)="$(autoit3dir)\autoit3.exe" /ErrorStdOut "$(FilePath)" $(1) $(2) $(3) $(4)

You will see it exits fine.

I checked AutoIt3Wrapper and it looks like SciTE has some issues with the STDOUT/STDERR and reading the buffers doesn't error out.

I made a workaround in the current Beta version of Autoit3Wrapper to test for Autoit3.exe finishing and no STDxxx being read from the buffers.

Try to see if that fixes it for you.

Jos :idea:

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Cool! It now works with no problems. I'm gald it wasn't an AutoIt bug

Thanks A lot!

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

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
  • Recently Browsing   0 members

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