On 10/07/19 10:30 PM, Sebastián Filippini wrote:
Hello everyone,I'm trying to write a Linux init script for a Pharo application. I'm using a bash script wrapper to launch pharo. This script executes the pharo script provided by get.pharo.org../pharo myapp.image start.st & PID=$! echo $PID > /var/run/myapp.pid
You could try direct exec instead of spawning a subshell. E.g. echo $$ >/var/run/myapp.id exec ./pharo myapp.image start.st HTH .. Subbu
