PharoLink - Start manual server and client
Start a server in-image:
PharoLinkServer new listenPort: 7001; start
Start an application and connect to the server specified above:
settings := LanguageLinkSettings pharoDefaultSettings. settings serverProcessClass: LanguageLinkManualProcess; serverSocketAddress: (LanguageLinkSocketAddress from: 'localhost:7001'). app := PharoLinkApplication newWith: settings. "To facilitate debugging while starting, fork the start process." [ app start ] fork.
"Inspect the app" app
"Example evaluation" serverPid := app newCommandFactory << 'GtOsSystemInfo current currentProcessId'; sendAndWait.