Sign in to follow this  
Followers 0
jjj

standard out question

2 posts in this topic

how do i write to the standard in stream without a knowing what process it will be?

for example:

running an autoit compiled script from the command shell or a batch file:

compiled_script.exe>>temp.txt

or:

compiled_script.exe>other_compiled_script.exe

or:

compiled_script.exe>%temp%

is there a way to do this?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Unfortunately you don't since AutoIt creates windows programs. And windows detatch a windows program from stdio connected to the calling shell. You can do trickeries to get it working though. Search for stub.exe or stub.zip or mx63 (if I recall right).

EDIT: PS: Try to format your post so it is readable. You probably will get faster response that way.

Edited by Uten

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  
Followers 0