This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: psexec does not work under cygwin-X


On Fri, Nov 20, 2009 at 9:45 AM, Hemal Pandya <> wrote:
> Hello,
>
> 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.

-Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]