<p>Yes sorry I was a little in a hurry :)</p>
<p>OS:</p>
<pre><code> ~> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
</code></pre>
<p>Pharo version: Pharo 61 60540</p>
<p>VM: Latest VM 64bits (we do not test the latest 32bits vm so it's maybe the same)</p>
<p>We use OSProcess this way:</p>
<pre><code>compileFile: aFile
| thisProcess currentPath result command |
thisProcess := OSProcess thisOSProcess.
currentPath := thisProcess environment at: #PATH.
thisProcess environment at: #PATH put: self binDirectory , ':' , currentPath.
command := PipeableOSProcess command: ( '"' , self binPath , '" "' , aFile fullName , '"').
[ result := command outputAndError ] ensure: [ command close ].
thisProcess environment at: #PATH put: currentPath.
^ result first
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/232#issuecomment-379204116">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyW4ee60O5KTuN4pLK_4K2BK-m_rS5ks5tlzkvgaJpZM4S6rMa">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyWxfa1Z4r2tGn8yjXEQPd1eREmYPFks5tlzkvgaJpZM4S6rMa.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/232#issuecomment-379204116"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenSmalltalk/opensmalltalk-vm","title":"OpenSmalltalk/opensmalltalk-vm","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jecisc in #232: Yes sorry I was a little in a hurry :)\r\n\r\nOS:\r\n\r\n```\r\n ~\u003e lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID: Ubuntu\r\nDescription: Ubuntu 16.04.3 LTS\r\nRelease: 16.04\r\nCodename: xenial\r\n```\r\n\r\nPharo version: Pharo 61 60540\r\n\r\nVM: Latest VM 64bits (we do not test the latest 32bits vm so it's maybe the same)\r\n\r\nWe use OSProcess this way:\r\n\r\n```\r\ncompileFile: aFile\r\n\t| thisProcess currentPath result command |\r\n\tthisProcess := OSProcess thisOSProcess.\r\n\tcurrentPath := thisProcess environment at: #PATH.\r\n\tthisProcess environment at: #PATH put: self binDirectory , ':' , currentPath.\r\n\tcommand := PipeableOSProcess command: ( '\"' , self binPath , '\" \"' , aFile fullName , '\"').\r\n\t[ result := command outputAndError ] ensure: [ command close ].\r\n\tthisProcess environment at: #PATH put: currentPath.\r\n\t^ result first\r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/232#issuecomment-379204116"}}}</script>