Re
Some binaries may be exposed as batch/shell scripts to properly handling shared library loading.
When we use this
#!/usr/bin/env -S /home/user/.esvu/bin/v8
as a Native Messaging host called by chrome to launch d8, then terminate all instances of chrome, the script will still be running even after the parent program terminates.
When we use this
#!/usr/bin/env -S /home/user/.jsvu/engines/v8/v8
d8 terminates when the parent program, in this case, chrome, closes.
Not sure if this is known or not that using bash here (which is an alias for dash on my machine) causes this behaviour.
#!/usr/bin/env bash
"/home/user/.esvu/engines/v8/d8" --snapshot_blob="/home/user/.esvu/engines/v8/snapshot_blob.bin" "$@"
Re
When we use this
as a Native Messaging host called by
chrometo launchd8, then terminate all instances ofchrome, the script will still be running even after the parent program terminates.When we use this
d8terminates when the parent program, in this case,chrome, closes.Not sure if this is known or not that using
bashhere (which is an alias fordashon my machine) causes this behaviour.