I would like to evaluate a Smalltalk expression in a forked process (i.e. something like OSProcess thisOSProcess waitForCommandOutput: 'pharo Pharo.image eval "SystemVersion current dottedMajorMinor"').
It is doable on linux/mac with OSProcess but not on Windows. Is there another way to do that on Windows? I would prefer to avoid to write to a file.
Have you checked the Console version of the windows VM?
On Tue, Jul 18, 2017 at 10:48 AM, Christophe Demarey <[hidden email]> wrote:
Hi,
I would like to evaluate a Smalltalk expression in a forked process (i.e. something like OSProcess thisOSProcess waitForCommandOutput: 'pharo Pharo.image eval "SystemVersion current dottedMajorMinor"').
It is doable on linux/mac with OSProcess but not on Windows. Is there another way to do that on Windows? I would prefer to avoid to write to a file.
PharoConsole.exe is only available for image versions > 50.
I need a solution that works on older image versions.
Thanks for the advice,
Christophe
Le 18 juil. 2017 à 14:26, Guillermo Polito <[hidden email]> a écrit :
Have you checked the Console version of the windows VM?
On Tue, Jul 18, 2017 at 10:48 AM, Christophe Demarey <[hidden email]> wrote:
Hi,
I would like to evaluate a Smalltalk expression in a forked process (i.e. something like OSProcess thisOSProcess waitForCommandOutput: 'pharo Pharo.image eval "SystemVersion current dottedMajorMinor"').
It is doable on linux/mac with OSProcess but not on Windows. Is there another way to do that on Windows? I would prefer to avoid to write to a file.
PharoConsole.exe is only available for image versions > 50.
I need a solution that works on older image versions.
Thanks for the advice,
Christophe
Le 18 juil. 2017 à 14:26, Guillermo Polito <[hidden email]> a écrit :
Have you checked the Console version of the windows VM?
On Tue, Jul 18, 2017 at 10:48 AM, Christophe Demarey <[hidden email]> wrote:
Hi,
I would like to evaluate a Smalltalk expression in a forked process (i.e. something like OSProcess thisOSProcess waitForCommandOutput: 'pharo Pharo.image eval "SystemVersion current dottedMajorMinor"').
It is doable on linux/mac with OSProcess but not on Windows. Is there another way to do that on Windows? I would prefer to avoid to write to a file.