windows - What is the best and most straighforward way to start a GUI application via a HTTP request? -


what best , straighforward way start gui application via http request?

this question specific windows server , gui application running local system user. http request outside of servers network i.e. on web.

i've tried making use of php , failed miserably, else can try?

thanks all

update

i tried perl suggestion seems run app in background:

#!c:/perl/bin/perl.exe print "content-type: text/html\n\n";  $execstring = 'start c:/www/csharp/test.exe 8998 "test message"';  exec $execstring; 

create cgi binary. run web-server. have binary start application.

a perl script job, too.

the cgi/perl/whatever need have appropriate local permissions, or os forbid start application.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -