ActionScript 中的进程枚举
有没有办法使用actionscript检查系统中具有给定进程ID的进程是否处于活动状态? ActionScript 中的哪个类具有枚举系统中活动进程列表的功能?
Is there a way to check whether a process with a given process ID is alive in the system using actionscript? Which class in actionscript has functions to enumerate list of processes active in the system?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NativeProcess
类 ( AIR 的 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html) 允许您通过命令行执行本机进程。一旦启动,您可以查询它是否仍在运行。我认为没有任何东西可以让您查询其他进程 ID(您没有启动)。我想安全问题就是原因。
The
NativeProcess
class ( http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html) of AIR lets you execute a native process via the command line. Once it's started, you can query if it's still running.I don't think there's anything though that lets you query other process IDs (that you didn't start). I'd imagine security issues are the reason.