evansullivan Posted September 26, 2016 Share Posted September 26, 2016 I wrote a GUI for a CLU that i use. Someone requested I added the option to output to a text file, I found using " 1>logfile.txt 2>&1 " works. However when Autoit runs, if the CLU it set to run on more than one machine, AutoIt doesn't run more than one window. If there is more than one remote computer entered I have Autoit set to a while count > 0 loop and it works fine without adding " 1>logfile.txt 2>&1 ". Anyone have any ideas why that would break it? Link to comment Share on other sites More sharing options...
Tripredacus Posted September 27, 2016 Share Posted September 27, 2016 You have made a typo in the topic title, but also the title does not really reflect what you are asking. Maybe if you put in a better title, more people will look at this post. Twitter | MSFN | VGCollect Link to comment Share on other sites More sharing options...
TurionAltec Posted September 27, 2016 Share Posted September 27, 2016 Not just the title, but some sample code that can reproduce the problem will help. On 9/26/2016 at 10:41 AM, evansullivan said: I wrote a GUI for a CLU that i use. Someone requested I added the option to output to a text file, I found using " 1>logfile.txt 2>&1 " works. However when Autoit runs, if the CLU it set to run on more than one machine, AutoIt doesn't run more than one window. If there is more than one remote computer entered I have Autoit set to a while count > 0 loop and it works fine without adding " 1>logfile.txt 2>&1 ". Anyone have any ideas why that would break it? What does this mean? I assume by CLU you mean CLI but what do you mean set to run on more than one machine? Is this an application specific issue or can you recreate it with built in Windows CLI tols (DIR, Netstat, etc) I assume you are using command redirection operators per this but could you achieve what you want by Using Run() with the Opt_flag $STDIN / $STDOUT? Then you can access the Stdin/out data directly in AutoIT using StdinWrite, and StdoutRead. Link to comment Share on other sites More sharing options...
Tripredacus Posted September 28, 2016 Share Posted September 28, 2016 I read CLU as 'command line utility' after first thinking of the guy from Tron. Twitter | MSFN | VGCollect 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