psexec does not work under cygwin-X
DePriest, Jason R.
Fri Nov 20 19:38:00 GMT 2009
On Fri, Nov 20, 2009 at 9:45 AM, Hemal Pandya <> wrote:
> It seems psexec (from sysinternals) does not work correctly under
> cygwin-X. If I run it at the bash prompt in a command window it
> completes normally but from a rxvt or xterm window it stops after the
> first line of output from the remote process.
> I am trying to write some bash scripts that run some processes on
> remote machines. I would like for them to be run under X, though
> that's not an absolute requirement. Is there a work-around for this?
> Thanks in advance,
> - hemal
How are you calling psexec?
You can try something like this:
cmd.exe /c C:\\sysinternals\\psexec.exe
Instead of calling psexec directly.
That would make it run under a cmd.exe prompt instead of directly under bash.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree