<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
"break" is a windows built-in. explains the first attempt.</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
--<br>
Alexander Grotewohl<br>
<a href="https://dcclost.com" target="_blank">https://dcclost.com</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fpc-devel <fpc-devel-bounces@lists.freepascal.org> on behalf of Tomas Hajny via fpc-devel <fpc-devel@lists.freepascal.org><br>
<b>Sent:</b> Friday, November 27, 2020 11:16:26 AM<br>
<b>To:</b> FPC developers' list <fpc-devel@lists.freepascal.org><br>
<b>Cc:</b> Tomas Hajny <XHajT03@hajny.biz><br>
<b>Subject:</b> Re: [fpc-devel] Might need some help with this one</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 2020-11-27 15:34, Bart via fpc-devel wrote:<br>
> On Thu, Nov 26, 2020 at 11:10 PM Tomas Hajny via fpc-devel<br>
> <fpc-devel@lists.freepascal.org> wrote:<br>
> <br>
>> Typing 'break.exe' in cmd.exe _does_ make a difference here (it <br>
>> executes<br>
>> as expected unlike when typing just 'break'). And obviously running<br>
>> break.exe using some other 'shell' (e.g. your preferred OFM ;-) ) <br>
>> works<br>
>> as well.<br>
> <br>
> Well, at my machine it did not.<br>
> I also called it from a batchfile (as break.exe) to see if I could<br>
> catch the errorlevel (I let it crash with a division by zero).<br>
> The errorlevel is set, but absolutely no output to screen or pipe.<br>
<br>
Understood. Haven't I already mentioned something about MS approach <br>
towards compatibility here recently? :/<br>
<br>
-------------------<br>
D:\TEMP>cmd<br>
Microsoft Windows [Version 10.0.18363.1082]<br>
(c) 2019 Microsoft Corporation. Všechna práva vyhrazena.<br>
<br>
D:\TEMP>break<br>
<br>
D:\TEMP>break.exe<br>
I am Break<br>
<br>
D:\TEMP>.\break<br>
I am Break<br>
<br>
D:\TEMP><br>
===================<br>
<br>
Tomas<br>
_______________________________________________<br>
fpc-devel maillist - fpc-devel@lists.freepascal.org<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</span></font></div>
</body>
</html>