从启动的Procrun EXE [英] Launching an exe from Procrun

查看:187
本文介绍了从启动的Procrun EXE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能从发起一个Procrun exe文件?除此之外,我还试图通过指定我的安装脚本以下行推出从服务code本身的框架。但是,这也好像服务启动成功没有GUI启动不起作用。

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 

如果我使用procrun推出一个exe,我怎样做,如果我推出一个JFrame,我怎么办呢?所有其他交互式Java面向服务的问题是基于阿狸服务包装我找不到任何procrun类似的问题。请指点。

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.

推荐答案

也许这些文章的 MSDN - 互动服务和<一个href=\"http://stackoverflow.com/questions/3798612/service-starting-a-process-wont-show-gui-c-sharp#3798636\">SO大雁到C# - 服务 - 启动 - 一个过程,不会出现贵解释了GUI和服务的问题。更好的解决方案将创建一个服务和一个单独的图形用户界面这与该服务iteracts。

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.

这篇关于从启动的Procrun EXE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆