Jump to content

Recommended Posts

Posted

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?

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

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...