Jump to content

Executable Execution From Script


lolallero

Recommended Posts

hello i've a compiled web application and the compiler gave me also a cgi/perl script to run it. The problem is that when running the script the application start loading but then "goes offline" according to the UI. is there any timer who kills the exe? or the cgi is killed along with child process?

i tried to write a php script to do the work but i got exec() is disabled for security reasons... Can you help me?

 

Thanks in advance.

Link to comment
Share on other sites

And it wouldn't get killed. If it is so i'll give it a try.

 

can the application listen on a port like 6632 ? Then i would acces the site by appending ":6632" to the domain name. if i put the application executable(called 'nsite') in /home/username then in cron command i would write "/home/username/nsite" ? (with or without brackets)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...