Re: [Pharo-users] OSProcess / OSSubprocess / LibC uniqueInstance
On Tue, 19 Feb 2019 at 13:45, Albrecht Baur via Pharo-users <pharo-users@lists.pharo.org> wrote:
Thank you.
The Metacello snippet helps. It loads a newer version than that from the catalog browser.
But 2 more questions:
1.: Is there a reason not to use just ...
LibC uniqueInstance system: 'zip -r 123.zip zipme/'
You don't have the same level of control over the process, can't pipe stdio, it introduces issues with interrupts (SIGINT, SIGQUIT), etc.
And 2.: Is it ok to use OSSubprocess on in 64 bit images even though the documentation says it doesn't work ? (but it does)
-> https://github.com/pharo-contributions/OSSubprocess#installation
That's a surprise. Yes, OSSubprocess is officially supported on 64 bits, the readme is out of date. HTH, Alistair
Yeah, readme is out of date. 64 bits is working: https://github.com/pharo-contributions/OSSubprocess/issues/22 On Tue, Feb 19, 2019 at 4:48 PM Alistair Grant <akgrant0710@gmail.com> wrote:
On Tue, 19 Feb 2019 at 13:45, Albrecht Baur via Pharo-users <pharo-users@lists.pharo.org> wrote:
Thank you.
The Metacello snippet helps. It loads a newer version than that from the
catalog browser.
But 2 more questions:
1.: Is there a reason not to use just ...
LibC uniqueInstance system: 'zip -r 123.zip zipme/'
You don't have the same level of control over the process, can't pipe stdio, it introduces issues with interrupts (SIGINT, SIGQUIT), etc.
And 2.: Is it ok to use OSSubprocess on in 64 bit images even though the documentation says it doesn't work ? (but it does)
-> https://github.com/pharo-contributions/OSSubprocess#installation
That's a surprise. Yes, OSSubprocess is officially supported on 64 bits, the readme is out of date.
HTH, Alistair
-- Mariano https://twitter.com/MartinezPeck http://marianopeck.wordpress.com
Nice! This helps -> thanks for the explanation. Albrecht On 19.02.19 21:10, Mariano Martinez Peck wrote:
Yeah, readme is out of date. 64 bits is working: https://github.com/pharo-contributions/OSSubprocess/issues/22
On Tue, Feb 19, 2019 at 4:48 PM Alistair Grant <akgrant0710@gmail.com <mailto:akgrant0710@gmail.com>> wrote:
On Tue, 19 Feb 2019 at 13:45, Albrecht Baur via Pharo-users <pharo-users@lists.pharo.org <mailto:pharo-users@lists.pharo.org>> wrote: > > Thank you. > > The Metacello snippet helps. It loads a newer version than that from the catalog browser. > > > But 2 more questions: > > 1.: Is there a reason not to use just ... > > LibC uniqueInstance system: 'zip -r 123.zip zipme/'
You don't have the same level of control over the process, can't pipe stdio, it introduces issues with interrupts (SIGINT, SIGQUIT), etc.
> And 2.: Is it ok to use OSSubprocess on in 64 bit images even though the documentation says it doesn't work ? (but it does) > > -> https://github.com/pharo-contributions/OSSubprocess#installation
That's a surprise. Yes, OSSubprocess is officially supported on 64 bits, the readme is out of date.
HTH, Alistair
-- Mariano https://twitter.com/MartinezPeck http://marianopeck.wordpress.com
participants (3)
-
Albrecht Baur -
Alistair Grant -
Mariano Martinez Peck