title: Does psexec support input redirection?
body: <p>I am trying to control a remote Python script via psexec, which reads commands from stdin, but I need to redirect psexec's input since psexec itself will be launched from another program. However, I have no luck making psexec accept redirected input. Is it supposed to work at all?</p>
  
  <p>An example of what I'm trying to do, where <em>input</em> is a file containing input to the remote script:</p>
  
  <pre><code>psexec \\mymachine python c:\script.py &lt; input
  </code></pre>