OS: OSX 10.8.3 (Mountain Lion)
I am not a professional programmer and have a console app that basically reads data from a serial com port and populates a database with filtered results.
The serial send and receive works flawlessly when run from the command line, but when daemonized it crashes every time it attempts to open the com port:
csServ: Process 1408 was forked to 1410 without calling exec(). This is not supported by FileManager. Aborting. > failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls. LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0 Saved crash report for csServ version ??? to /Library/Logs/DiagnosticReports/csServ_2013-06-10-135106_myMac.crash
I have of course googled this and it suggested running the following command to reset the lsregister, however it made no difference.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Any suggestions / help please ?