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?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
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.