capture STDOUT from shell script
I have a shell script that I use to process specific fields (title, journal name, etc) and I can execute it with nsIProcess, but I can't capture the stdout from the script.
Is there some way to do this in Zotero?
Is there some way to do this in Zotero?
There's no way that I know of to get the output in XPCOM, but you can just adjust the script to log to a file, or call one script from another script and redirect that way.
Yes, I was looking at subprocess so its good to know to stay away from it.