Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
SyntaxError: Unexpected token #625
Im spawning a process inside of a Go-program. The output from the program produces an error within Apex.
Perhaps making the JS-shim more robust?
Note that stdout of Go program is reserved for the shim, and stdout of Go program should be print valid JSON. because communication between shim and Go program uses JSON.
Anyway, the reason why Node.js runtime throws error is Node.js runtime tried to parse
so If you spawn process from (shimmed) Go program, you should not pipe stdout of spawned process to stdout of your Go program writes if that spawned process doesn't print JSON :)