I’m trying to get an openfl desktop application file (experiment.app) to run a separate executable file (TRTransfer) using the process() command.
I’ve placed TRTransfer in the application’s resources folder - it has no problem pulling text files from this location, so I don’t think it’s a problem with the location of the TRTransfer file.
I’m not getting any error messages, and no terminal windows open, so it’s difficult to see where I’m going wrong here.
#if mac
var p = new Process("./TRTransfer", []); #end
Any help appreciated, and let me know if I can provide any further details.
Some combination of this has fixed my issue, thanks! I’m generally reluctant to follow tutorials with minimal commenting, but just replacing the “ls” with “./TRTransfer” in the above example seems to do the trick