I've been trying to track sample code down for weeks and I think I have something for you.
- Open the digesteroids sample.
- On line 1483 (after the Game.ShutDown() method) add OpenURL ("http://google.com")
- compile, run, then quit
On my machine (Ubuntu 8,04, BlitzMax 1.30) the browser successfully opens and goes to Google perhaps 1 out of 10 times; the remaining 9 times either nothing happens or Firefox itself hangs and the process needs to be killed before you can access the browser again. It seems to be slightly more successful if a browser is open in the background before you compile the program.
- Open the digesteroids sample.
- On line 1483 (after the Game.ShutDown() method) add OpenURL ("http://google.com")
- compile, run, then quit
On my machine (Ubuntu 8,04, BlitzMax 1.30) the browser successfully opens and goes to Google perhaps 1 out of 10 times; the remaining 9 times either nothing happens or Firefox itself hangs and the process needs to be killed before you can access the browser again. It seems to be slightly more successful if a browser is open in the background before you compile the program.