CreateProcess unter MacOS
BlitzMax Forums/BlitzMax Beginners Area/CreateProcess unter MacOS
| ||
Hello everybody, I'd like to access the MacOSX Terminal. Well I've found a couple of ways to use CreateProcess but none of them is working. I have the following code to open my terminal: process:TProcess = CreateProcess("/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal") handle:TPipeStream = process.pipe The Terminal opens, but cannot be accessed. 1) Is this address correct or has it to be "/Applications/Utilities/Terminal.app"? 2) Why can't I read or write the stream (even though no error occurs)? 3) Are there any certain modules that I have to import? 4) Can I access the Terminal in a different way? 5) Why doesn't my IDE highlight the command "CreateProcess"? Greetings and many thanks in advance Simon |