Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39298
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: running java kills parent shell |
| Date | 2020-02-14 19:39 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <r27ekd$13ie$1@gioia.aioe.org> (permalink) |
| References | (1 earlier) <r20q9s$5gt$1@dont-email.me> <fe3df469-89b4-4dcd-808e-714891134802@googlegroups.com> <r270q4$st0$1@dont-email.me> <8f61cfbe-6666-4a4a-b328-bb51016973da@googlegroups.com> <r274g2$ldt$1@dont-email.me> |
On 2/14/2020 4:46 PM, Martin Gregorie wrote:
> I don't know whether knowledge of the local convention for, e.g. line
> ends, is compiled into the JVM or if it interrogates the OS to find out
> which version to use. In the first case, if LinuxForWindows uses LF like
> any other Linux/UNIX OS AND you're running a Windows JVM, you'd expect
> see exactly sort the problem you've got.
I don't know where Java get the default from, but you can see
the default by looking at:
System.getProperty("line.separator")
or since 1.7 also:
System.lineSeparator()
Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
running java kills parent shell luserdroog <luser.droog@gmail.com> - 2020-02-11 19:57 -0800
Re: running java kills parent shell Martin Gregorie <martin@mydomain.invalid> - 2020-02-12 12:15 +0000
Re: running java kills parent shell luserdroog <luser.droog@gmail.com> - 2020-02-14 10:53 -0800
Re: running java kills parent shell Martin Gregorie <martin@mydomain.invalid> - 2020-02-14 20:43 +0000
Re: running java kills parent shell luserdroog <luser.droog@gmail.com> - 2020-02-14 13:02 -0800
Re: running java kills parent shell Martin Gregorie <martin@mydomain.invalid> - 2020-02-14 21:46 +0000
Re: running java kills parent shell Arne Vajhøj <arne@vajhoej.dk> - 2020-02-14 19:39 -0500
csiph-web