Running from the command line in Windows
Hi, I have a little question, I need to run a piece of code from the command line, if I do the following in Mac it works ./Pharo --headless ../Resources/Pharo3.0.image eval '3+3' I see the result of the evaluation in the console, but if I do the same in Windows it runs but it doesn't show the result in the console. Any clue of why this is happening? And how to solve it? Thanks!
Hi Sebastian, make sure you use a console VM. You can find non-Pharo console VMs at my site which you can test, e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3114/cogwin-14.42.3114.zip. The console VM is called SqueakConsole.exe On Tue, Oct 28, 2014 at 5:52 AM, Sebastian Tleye <sebastian.tleye@gmail.com> wrote:
Hi,
I have a little question,
I need to run a piece of code from the command line, if I do the following in Mac it works
./Pharo --headless ../Resources/Pharo3.0.image eval '3+3'
I see the result of the evaluation in the console, but if I do the same in Windows it runs but it doesn't show the result in the console.
Any clue of why this is happening? And how to solve it? Thanks!
-- best, Eliot
Hi Eliot, Thanks, I tried but is the same, I can run code but the result does not appear in the console. 2014-10-28 18:30 GMT+01:00 Eliot Miranda <eliot.miranda@gmail.com>:
Hi Sebastian,
make sure you use a console VM. You can find non-Pharo console VMs at my site which you can test, e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3114/cogwin-14.42.3114.zip. The console VM is called SqueakConsole.exe
On Tue, Oct 28, 2014 at 5:52 AM, Sebastian Tleye < sebastian.tleye@gmail.com> wrote:
Hi,
I have a little question,
I need to run a piece of code from the command line, if I do the following in Mac it works
./Pharo --headless ../Resources/Pharo3.0.image eval '3+3'
I see the result of the evaluation in the console, but if I do the same in Windows it runs but it doesn't show the result in the console.
Any clue of why this is happening? And how to solve it? Thanks!
-- best, Eliot
-- Sebastián Tleye
Well, I realized that the result is saved in a file called "stdout", I think this is good enough for me! 2014-10-29 9:44 GMT+01:00 Sebastian Tleye <sebastian.tleye@gmail.com>:
Hi Eliot,
Thanks, I tried but is the same, I can run code but the result does not appear in the console.
2014-10-28 18:30 GMT+01:00 Eliot Miranda <eliot.miranda@gmail.com>:
Hi Sebastian,
make sure you use a console VM. You can find non-Pharo console VMs at my site which you can test, e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3114/cogwin-14.42.3114.zip. The console VM is called SqueakConsole.exe
On Tue, Oct 28, 2014 at 5:52 AM, Sebastian Tleye < sebastian.tleye@gmail.com> wrote:
Hi,
I have a little question,
I need to run a piece of code from the command line, if I do the following in Mac it works
./Pharo --headless ../Resources/Pharo3.0.image eval '3+3'
I see the result of the evaluation in the console, but if I do the same in Windows it runs but it doesn't show the result in the console.
Any clue of why this is happening? And how to solve it? Thanks!
-- best, Eliot
-- Sebastián Tleye
-- Sebastián Tleye
participants (2)
-
Eliot Miranda -
Sebastian Tleye