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, Thibault ARLOING <thibault.arloing@hotmail.fr> wrote:

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 <pharo-users-bounces@lists.pharo.org> de la part de Hilaire <hilaire@drgeo.eu>
Envoy�� : lundi 20 juin 2016 17:21
�� : pharo-users@lists.pharo.org
Objet : Re: [Pharo-users] Symbolic links in Pharo
��
I guess you can do it with OSSubProcess shell command

Hilaire
--
Dr. Geo
http://drgeo.eu
Be a Geometer! Dr. Geo, a software to design & manipulate interactive geometric sketches. It helps kids to explore geometry. Distributed with its source code it is ...