Path: csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: running java kills parent shell Date: Fri, 14 Feb 2020 19:39:42 -0500 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: References: <8f61cfbe-6666-4a4a-b328-bb51016973da@googlegroups.com> NNTP-Posting-Host: O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: csiph.com comp.lang.java.programmer:39298 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