[OSX only?] how to fetch data from system_()?
BlitzMax Forums/BlitzMax Programming/[OSX only?] how to fetch data from system_()?
| ||
Hello everybody! I'm trying to access information about the installed software via the OSX-Terminal. when executing the system_()-command (eg "lpoptions") the result is printed to the output-textarea of the MaxIDE. I was told that this might be an OSX-only problem as noone experienced this before under Win or Linux. Now I had a look how to change the StdIOStream but can't really sort out how to programme it to get it into a variable or bank. Can anyone help? Thanks Simon |
| ||
You'll probably have to use free process to execute the command, even then things are iffy. Search around the forums for TProcess. |