Broadcastic Posted May 23, 2015 Share Posted May 23, 2015 (edited) I have 2 processes one is Manager another is Worker.exeMaster launches worker by Run with parameters directive passing PID of Manager as wellI'm trying to reassign console from worker to the master so I will see some info from worker I called FreeConsole and _WinAPI_AttachConsole to Manager's PID.$workerID=$CmdLine[1]; ... $ManagerPID=$CmdLine[4]; $res=_WinAPI_FreeConsole(); $res2=_WinAPI_AttachConsole($ManagerPID); ConsoleWrite(" worker "&$workerID&" connected to console "); I don't see any console messages from worker in my SciTE console window where Manager's console livesAny ideas why? Edited May 23, 2015 by Broadcastic Link to comment Share on other sites More sharing options...
JohnOne Posted May 23, 2015 Share Posted May 23, 2015 I imagine it's because Scite console is not autoit console, the are two different things. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now