Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27771
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: a question about using ProcessBuilder to call external command |
| Date | 2014-03-17 03:02 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <mvhdi9t5ft3pvok45uaat0pl4q0eeb38cm@4ax.com> (permalink) |
| References | <8f4aa46a-16f4-4b36-a951-7e8eda1692db@googlegroups.com> <3ac9c98d-5ac9-4bf6-a28f-151ff91c08de@googlegroups.com> |
On Wed, 12 Mar 2014 13:10:58 -0700 (PDT), zyng <xsli2@yahoo.com> wrote, quoted or indirectly quoted someone who said : >runs fine on Linux, but when on Cygwin(on Microsoft Windows), it fails due to "/bin/sh" issue. On the terminal of Cygwin, the command: >/bin/sh -c "the command and arguments" Are you sure sh lives in the bin directory in the root of the current drive? Try spelling that out in full. -- Roedy Green Canadian Mind Products http://mindprod.com "Incorrect documentation is often worse than no documentation." ~ Bertrand Meyer (born: 1950 age: 63), creator of design by contract and the Eiffel language.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
a question about using ProcessBuilder to call external command zyng <xsli2@yahoo.com> - 2014-03-12 13:06 -0700
Re: a question about using ProcessBuilder to call external command zyng <xsli2@yahoo.com> - 2014-03-12 13:10 -0700
Re: a question about using ProcessBuilder to call external command Roedy Green <see_website@mindprod.com.invalid> - 2014-03-17 03:02 -0700
Re: a question about using ProcessBuilder to call external command Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-03-12 16:36 -0400
Re: a question about using ProcessBuilder to call external command Roedy Green <see_website@mindprod.com.invalid> - 2014-03-16 01:03 -0700
csiph-web