I'm writing a PHP-GTK Twitter client, and when I do OAuth authentication, I need to open a browser to show the user the out-of-band token. I also need to have a dialog box open and operational during this time for the user to enter in that token.
The problem is, on Linux, when I open the browser with xdg-open URL
, PHP seems to pause until I close the browser window. I need PHP to launch the browser, then open the dialog. Can I make PHP just execute the command and continue on with the script?