Jump to content

How to start an application (Linux/PHP5)


Aimless

Recommended Posts

Hey,

 

I'm trying to start an application, here's what I've got so far:

		$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("cd ".GAME_DIRECTORY." ; nohup ./".GAME_BIN_NAME." &", 0, $m);

 

When I execute this code nothing happens, it doesn't seem to be starting the application.

 

Can anyone tell me how to start my application, I first need to CD to .GAME_DIRECTORY. and then run .GAME_BIN_NAME.

Link to comment
https://forums.phpfreaks.com/topic/202595-how-to-start-an-application-linuxphp5/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.