有什么办法可以在后台运行的进程? [英] There is any way to run processes in the background?

查看:119
本文介绍了有什么办法可以在后台运行的进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有任何在后台运行一个进程隐藏的任何尝试打开窗口的命令行或.NET方法?

There is any command line or .NET method that runs a process in the background hiding any window it tries to open?

已经尝试过:

 var process = new Process()
 {
      StartInfo = new ProcessStartInfo()
      {
          CreateNoWindow = true,
          WindowStyle = ProcessWindowStyle.Hidden,
          FileName = TheRealExecutableFileNameHere
      }
 }
 process.Start();

在没有成功,到目前为止

With no success so far

推荐答案

检查出的 Matlab引擎

甚至还有一个有趣的文章在$ C $的CProject ,如果​​这种方法适合你需要。

There's even an interesting article on CodeProject, if this approach fits your needs.

这篇关于有什么办法可以在后台运行的进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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