<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr">On Windows, there is work to do on the VM platform sources to get the command line output to work properly.</div><div dir="ltr"><br></div><div dir="ltr">There are a set of MsgBox calls in there where one could use a nice little printf/puts.</div>
<div dir="ltr"><br></div><div dir="ltr">I've been looking at it but there is more than meets the eye there.</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Phil<br><div><br></div></div></div>
<br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 10:23 PM, Max Leske <span dir="ltr"><<a href="mailto:maxleske@gmail.com" target="_blank">maxleske@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe… Since Pharo now has a command line handler, you could redirect stdout to the vm process? Will probably not work while the image is running I guess. But maybe it will (see for example <a href="http://serverfault.com/questions/178457/can-i-send-some-text-to-the-stdin-of-an-active-process-running-in-a-screen-sessi" target="_blank">http://serverfault.com/questions/178457/can-i-send-some-text-to-the-stdin-of-an-active-process-running-in-a-screen-sessi</a>)<br>
<br>
<br>
On 28.03.2014, at 21:56, Sean P. DeNigris <<a href="mailto:sean@clipperadams.com">sean@clipperadams.com</a>> wrote:<br>
<br>
> Emilio Oca-3 wrote<br>
>> I managed to do that in Windows using... ProcessWrapper...<br>
><br>
> As it's for a core test, I need to find a way to do it without loading<br>
> additional libraries. I could pipe the output to a tmp file if there's<br>
> nothing...<br>
><br>
><br>
><br>
> -----<br>
> Cheers,<br>
> Sean<br>
<span class="HOEnZb"><font color="#888888">> --<br>
> View this message in context: <a href="http://forum.world.st/Capturing-stdout-tp4751320p4751521.html" target="_blank">http://forum.world.st/Capturing-stdout-tp4751320p4751521.html</a><br>
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.<br>
><br>
<br>
<br>
</font></span></blockquote></div><br></div></div>