I understand unix quite well. All the ./pharo does is redirect to the vm with the --nodisplay flag.
When I try it without the "eval "ZnClient new get: '
https://google.com'"" part, I get the following in the terminal:
Usage: [--no-preferences|--preference-file=<FILE>][<subcommand>] [--help] [--copyright] [--version] [--list] [ --no-quit ]
��� --help������ print this help message
��� --copyright� print the copyrights
��� --version��� print the version for the image and the vm
��� --list������ list a description of all active command line handlers
��� --no-quit��� keep the image running without activating any other command line handler
��� <subcommand> a valid subcommand in --list
���
��� Preference File Modification:
��� --preference-file�� load the preferences from the given <FILE>
��� --no-default-preferences��� do not load any preferences from the default locations
���
Documentation:
A PharoCommandLineHandler handles default command line arguments and options.
The PharoCommandLineHandler is activated before all other handlers.
It first checks if another handler is available. If so it will activate the found handler.
Then pharo exits. It seems like it is just doing the command and then dies. That's definitely different behaviour than a usual headless pharo.