OpenURL Bug in Linux, now with sample code!

BlitzMax Forums/BlitzMax Bug Reports/OpenURL Bug in Linux, now with sample code!

Tachyon, what happens when you add a & (ampersand) to the end of the command string of a custom call?

eg.
OpenURL3("www.google.com")

Function OpenURL3(pUrl$)
	system_("xdg-open ~q" + pUrl$ + "~q &")
	Delay 5000
	Input("")
EndFunction

..or..
s = ("gnome-open ~q"+url+"~q &").ToCString()

or similar... and note that it goes after the quote.

The ampersand causes the process to fork off and return immediately. In theory, whatever happened to the command at that point shouldn't affect your own app.