@Nicola: Strange, running your first example made my Squeak cursor flickering until I interrupted the command ...

Double check:
-------
p := PipeableOSProcess command: 'ls -la'.
p output.
-------

1] In MacOS 10.14.5, confirmed to work.
2] In FreeBSD 12 (Linux emulation 64bit) , confirmed to work

Can't tell you much more unfortunately.

bye
Nicola




On Aug 5, 2019, at 12:48 AM, Thiede, Christoph <Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:

Hi John,

[(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.

@Nicola: Strange, running your first example made my Squeak cursor flickering until I interrupted the command ...

Best,
Christoph

Von: Beginners <beginners-bounces@lists.squeakfoundation.org> im Auftrag von John-Reed Maffeo <jrmaffeo@gmail.com>
Gesendet: Montag, 5. August 2019 00:48:49
An: A friendly place to get answers to even the most basic questions about Squeak.
Betreff: Re: [Newbies] Introduction into OSProcess
 
Christoph,

You are more fortunate than I am. I tried it on my Win 7 box and it caused a crash.

There is a way to send output to stdout and stderr . Try adding that to your command and see what you get.

Reminder to all beginners, "Save early and save often"

-jrm

On Sat, Aug 3, 2019 at 10:50 AM Christoph Thiede <christoph.thiede@student.hpi.uni-potsdam.de> wrote:
Hello,

I am trying to run a simple shell command using OSProcess:

ExternalWindowsOSProcess command: 'taskmgr.exe'

I'm afraid it "does not work", so after evaluating this expression, no
window opens and also no icon appears in the systray. If I open cmd.exe and
type taskmgr.exe there, taskmgr opens.

However, the following works as expected:

ExternalWindowsOSProcess command: 'notepad.exe'

Using absolute paths did not change the behavior.

I installed the latest OSProcess version via SqueakMap. Is this a bug, or is
it me? Thanks in advance!

Christoph



--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners