Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21327
| X-Received | by 10.224.189.78 with SMTP id dd14mr11527818qab.0.1357922019401; Fri, 11 Jan 2013 08:33:39 -0800 (PST) |
|---|---|
| Received | by 10.49.71.135 with SMTP id v7mr14223678qeu.28.1357922019329; Fri, 11 Jan 2013 08:33:39 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no1016468qai.0!news-out.google.com!k2ni173qap.0!nntp.google.com!p13no1021545qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Fri, 11 Jan 2013 08:33:39 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=50.14.119.173; posting-account=lPVJQwoAAACjT2AlnY0YSj2LC4j2qtwQ |
| NNTP-Posting-Host | 50.14.119.173 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <05a24a02-1ac3-4866-ba2b-20c488793b96@googlegroups.com> (permalink) |
| Subject | problem with multiword args and Runtime.exec() |
| From | "Aryeh M. Friedman" <Aryeh.Friedman@gmail.com> |
| Injection-Date | Fri, 11 Jan 2013 16:33:39 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.java.programmer:21327 |
Show key headers only | View raw
No matter what version of Runtime.exec I call I can not make a arg that has multiple words in it (*NOT* multiple args but a single one) for example if I need to issue the following command in unix I can not find a way to do the stuff in "'s as a single arg [the called program requires this... i.e. it *MUST NOT* be treated as different elements of String[] args if it was a java program]): rdiff-backup --remote-schema "ssh -C -p9222 %s rdiff-backup --server" username@remoteserver::/path_to/filestobackup /path_to/backedupfiles
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
problem with multiword args and Runtime.exec() "Aryeh M. Friedman" <Aryeh.Friedman@gmail.com> - 2013-01-11 08:33 -0800
Re: problem with multiword args and Runtime.exec() Lew <lewbloch@gmail.com> - 2013-01-11 11:07 -0800
Re: problem with multiword args and Runtime.exec() FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-11 11:41 -0800
Re: problem with multiword args and Runtime.exec() FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-11 11:44 -0800
Re: problem with multiword args and Runtime.exec() "A. Bolmarcich" <aggedor@earl-grey.cloud9.net> - 2013-01-11 15:27 -0600
Re: problem with multiword args and Runtime.exec() Martin Gregorie <martin@address-in-sig.invalid> - 2013-01-11 21:36 +0000
csiph-web