Yes it does! Thanks!!!
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Jun 20, 2016, at 12:32 PM, Mariano Martinez Peck
> wrote:
>
>
>
> On Mon, Jun 20,
On Mon, Jun 20, 2016 at 1:10 PM, Peter Uhnák wrote:
> #runAndWaitOnExitDo: takes a cull-ed three-arg block with the process,
> stdout, and stderr; that way you can process stdout and stderr
> independently.
>
>
Exactly.
> Try this
>
> OSSUnixSubprocess new
> command:
#runAndWaitOnExitDo: takes a cull-ed three-arg block with the process,
stdout, and stderr; that way you can process stdout and stderr
independently.
Try this
OSSUnixSubprocess new
command: '/usr/bin/java';
arguments: #('-version');
redirectStderr;
runAndWaitOnExitDo: [ :process :out :err |
err
Hi Mark,
This is what I thought. But it does not seem to work. I tried:
OSSUnixSubprocess new
command: '/usr/bin/java';
arguments: #('-version');
redirectStderr;
runAndWaitOnExitDo: [ :process :outString |
outString inspect
].
Or is it the redirectStderr that
You can use FFI; just create an object with a method…
MyObject>>system: command
"Perform OS system() call."
^ self ffiCall: #(int system #(char * command)) module: LibC
And then you can do something like
MyObject new system: 'ln -s /tmp/source /tmp/target'
On Mon, Jun 20, 2016 at 5:57 PM,
Yes, I know but I want to use only Pharo classes because I don't want to add a
dependency to OSSubProcess in my program
thanks anyway for your answer
Thibault
De : Pharo-users de la part de Hilaire
java -version outputs to stderr not stdout (also I don't think you need
JAVA_HOME /usr/bin/java will do what is needed)
On 20/06/2016 15:58, Alexandre Bergel wrote:
On OS X, in a terminal, if I type: /usr/bin/java -version
I obtain:
java version "1.8.0_66"
Java(TM) SE Runtime Environment
I guess you can do it with OSSubProcess shell command
Hilaire
--
Dr. Geo
http://drgeo.eu
Hi,
Is it possible to drag a SystemWindow/StandardWindow ONLY from its
title, on the top?
Currently, the behaviour is: any area of the windows where there is no
widget behaves as a select point of the whole window.
For some young -- and older -- users of Dr.Geo it can be confusing.
I look at
Ok, I will create my symbolic links with a bash script until it is available in
Pharo []
Thanks
Thibault
De : Pharo-users de la part de Esteban
Lorenzano
Envoyé : lundi 20 juin 2016 16:51
À : Any
Hi!
On OS X, in a terminal, if I type: /usr/bin/java -version
I obtain:
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Using OSSubProcess, do-it-ing the following:
OSSUnixSubprocess new
command:
right now, you can’t… btw, even #isSymlink method is currently broken (I coded
a replacement with UFFI but while making it work with linux I broke it with
mac… and no time yet to finish it :( )
but I suppose also creating symlinks is something we can add soon :)
Esteban
> On 20 Jun 2016, at
Hi,
I want to create a symbolic link via Pharo.
But I don't know how, I found methods named #isSymlink but none for creation of
symbolic links.
Can we create a symbolic link via Pharo ?
Thibault
Hi Sean,
> Le 17 juin 2016 à 17:10, Sean P. DeNigris a écrit :
>
> During startup, I do `UIManager default inform: aString`. It used to show a
> Growl morph, but now opens a debugger. Did something change? If so, why and
> how do I circumvent the debugger? Thanks.
With
14 matches
Mail list logo