如何允许guest虚拟机可执行文件运行完成 [英] How to allow guest executable to run to completion

查看:139
本文介绍了如何允许guest虚拟机可执行文件运行完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

对于我的应用程序,我想创建一个节点来宾可执行文件,它会启动,运行完成,然后在完成后删除自己。问题是Service Fabric似乎无法判断我的guest exe是否已经意外完成或崩溃,因此
只会在每次运行完成后重新启动guest exe。有没有什么办法可以配置服务结构,以便在运行完成后重新启动特定的guest虚拟机可执行文件?

For my application, I would like to create a node guest executable which fires up, runs to completion, then deletes itself when it has finished. The problem is Service Fabric can't seem to tell if my guest exe has completed or crashed unexpectedly, so it will simply restart the guest exe each time it finishes running. Is there any way I can configure service fabric not to restart a specific guest executable once it has run to completion?

感谢您的帮助!

推荐答案

听起来像是脚本而不是Service Fabric的问题。脚本在做什么?你能分享一下代码吗?另外,如果你在本地PC上运行它会做同样的事情吗? 
Sounds like an issue with the script rather than with Service Fabric. What is the script doing? Could you share the code? Also, if you run it on your local PC does it do the same thing? 


这篇关于如何允许guest虚拟机可执行文件运行完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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