Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

How can I launch an exe file from Procrun? Apart from that I also tried to launch a frame from the service code itself by specifying the following line in my install script. But that too doesn't work as no GUI is launched though the service is started successfully.

set PR_TYPE=interactive 

If I am to launch an exe using procrun, how am I to do that and if I am to launch a JFrame, how am I to do that? I can't find any similar questions in procrun as all the other interactive java service oriented questions are based on tanuki service wrapper. Please advice.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
167 views
Welcome To Ask or Share your Answers For Others

1 Answer

Maybe those articles MSDN - interactive services and SO anser to C# - service-starting-a-process-wont-show-gui explains the problem with a GUI and a service. Better solution would be creating a service and a separate GUI which iteracts with that service.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...