OSSubprocess
OSSubprocess copied to clipboard
Forking Operating System Processes from within Pharo Language
Hi, When i try to terminate OS processes, the Terminating use case is working with this code : ```smalltalk newprocess := OSWSWinProcess new shellCommand: 'cmd.exe'; run. newprocess terminate. ``` But...
When loading from master like it says in the README: ```smalltalk Metacello new baseline: 'OSSubprocess'; repository: 'github://pharo-contributions/OSSubprocess:master/repository'; load. ``` I get an error `should not be called with more than...
Method selectors in FFI were updated, so we should update the senders to this method for Pharo 12.
WeakRegistry is not available anymore in Pharo 12. It seems the most suitable replacement is FinalizationRegistry, which applies to OldFileStream registry method.
OSSubprocess' process reaping logic reaps all child processes, not only those that it has spawned (that is, processes spawned by means of OSSubprocess). Therefore is may happen (does happen) that...
I'm trying to get the output from mongo cli. While it works using LibC call, I'm not able to make it works on OSSubprocess. I need it working on OSSubprocess...
We’re having a problem on our Jenkins server: test runs often hang. It seems to be related to OSSubprocess. I tried to capture it in a small example: https://github.com/Rinzwind/OSSubprocessTest The...
The Bash script given below gives a few examples in which OSSUnixSubprocess doesn’t pass down inherited environment variables as expected, the output is: ``` $ ./test.sh OK (\x41\x42\x43): 0000000 41...
**Bug description** In Exercism Pharo track is OSSubprocess project used. However it fails on P7 (backward compatibility is handled there). During initialization of `OSVMProcess` class, is `OldStandardFileStream>>open:forWrite:` sent, which causes...
When you run a process, it can write some data to the standard output (or error). Example: ```smalltalk p := OSSUnixSubprocess new command: '/bin/bash'; arguments: #('-c' '/tmp/pharo-vm/Pharo.app/Contents/MacOS/Pharo /tmp/Pharo.image eval "[...