Thanks for the answer,
I've already seen this page. And the problem is when I do : OSProcess
command: 'touch files.txt',
I can't find the created files. But I don't have any error message.
For the new lib, I'm working on Pharo 4, and it only works and version 5.
--
Guillaume
--
View this mess
I seem to recall that on the mac there was a system option of some sort
that "launches apps from a sensible" location --- of course the Apple
powers that be may have removed that capability recently...
Dale
On 3/19/16 9:41 AM, Damien Pollet wrote:
On 19 March 2016 at 16:45, Peter Uhnák
On 19 March 2016 at 16:45, Peter Uhnák wrote:
> I don't actually see the reason why it should assume root folder if you
> don't specify a path… that's stupid on many levels (I blame mac).
>
It's root because that's where the system launches applications from, when
you double-click them in the Fi
On Sat, Mar 19, 2016 at 9:16 AM, john pfersich wrote:
> continued...
> (this is on Mac OSX, but it should be the same on any *nix).
>
I don't actually see the reason why it should assume root folder if you
don't specify a path… that's stupid on many levels (I blame mac).
On Linux you get home, a
You need to be a bit more descriptive of what "doesn't work" mean,
otherwise we can't help you. :)
Have you seen this?
http://pharo.gemtalksystems.com/book/PharoTools/OSProcess/
Also there's a new lib for OS
http://forum.world.st/ANN-OSSubprocess-v0-2-0-release-td4872820.html (
https://github.com
HI Guillaume,
I don't have much to add to what Peter said.
As for OSProcess yes, we have some problems in latest VMs / images. At some
point stdout redirection was not working. Then it seems it got fixed but
now I am not sure if it is working as there were other people reporting it
didn't work.
A
continued...
(this is on Mac OSX, but it should be the same on any *nix). I don't do
Windows. If you want to see the file try
touch ~/files.txt
By the way, the code above works in Pharo 4.0, should work with the latest
Pharo 5.0 beta, but I haven't tested the code above with Pharo 5.0.
On Fri, Ma
if you do something like this:
| p d |
p := (PipeableOSProcess command: 'touch files.txt').
p keepInitialStdOutOpen: true.
d := Delay forMilliseconds: 250.
d wait.
[Transcript show: (p next: 300); flush. p atEnd] whileFalse: [d wait].
Transcript show: (p errorUpToEnd).
p closeOutput.
then you'll