<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Hi John,</p>
<p><br>
</p>
<p><span>[(OSProcess command: 'notepad.exe 2>&1') value] passes '>2&1' as an argument to notepad.exe. If I use PipeableOSProces instead, there is only shown an empty cmd window, no matter what the command is.</span><br>
</p>
<p><span><br>
</span></p>
<p><span>@Nicola: Strange, running your first example made my Squeak cursor flickering until I interrupted the command ...</span></p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Beginners <beginners-bounces@lists.squeakfoundation.org> im Auftrag von John-Reed Maffeo <jrmaffeo@gmail.com><br>
<b>Gesendet:</b> Montag, 5. August 2019 00:48:49<br>
<b>An:</b> A friendly place to get answers to even the most basic questions about Squeak.<br>
<b>Betreff:</b> Re: [Newbies] Introduction into OSProcess</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Christoph,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">You are more fortunate than I am. I tried it on my Win 7 box and it caused a crash.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"><a href="https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout">There is a way to send output to stdout and stderr</a> . Try adding that to your command
 and see what you get.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Reminder to all beginners, "Save early and save often"<br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">-jrm<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Aug 3, 2019 at 10:50 AM Christoph Thiede <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de">christoph.thiede@student.hpi.uni-potsdam.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Hello,<br>
<br>
I am trying to run a simple shell command using OSProcess:<br>
<br>
ExternalWindowsOSProcess command: 'taskmgr.exe'<br>
<br>
I'm afraid it "does not work", so after evaluating this expression, no<br>
window opens and also no icon appears in the systray. If I open cmd.exe and<br>
type taskmgr.exe there, taskmgr opens.<br>
<br>
However, the following works as expected:<br>
<br>
ExternalWindowsOSProcess command: 'notepad.exe'<br>
<br>
Using absolute paths did not change the behavior.<br>
<br>
I installed the latest OSProcess version via SqueakMap. Is this a bug, or is<br>
it me? Thanks in advance!<br>
<br>
Christoph<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://forum.world.st/Squeak-Beginners-f107673.html" rel="noreferrer" target="_blank">
http://forum.world.st/Squeak-Beginners-f107673.html</a><br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>