kingkaj Posted March 28, 2008 Share Posted March 28, 2008 Having played with StdinWrite and StdoutRead, I understand these can only read an write into a child process. What if I wanted to read or write to the handle (ProcessID) of an executable invoked by independeant scripts? Scenario: -Script A starts an SSH session by calling plink -Script B gets the PID from A, and reads and writes to the plink handle -A and B are totally independent scripts Dont think this is possible, but who knows someone has a clever trick to pull this off. Cheers. Link to comment Share on other sites More sharing options...
herewasplato Posted March 29, 2008 Share Posted March 29, 2008 Welcome to the forum.Look here...http://www.autoitscript.com/forum/index.ph...showtopic=47003 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
kingkaj Posted March 30, 2008 Author Share Posted March 30, 2008 Thanks for the reply. However in your response one compiled script is a child of another other script. I was looking for a way to have independent scripts sends messages to each other's 'stdin' by calling their PID. Cheers. 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