Sketchflow和cmd.exe [英] Sketchflow and cmd.exe
问题描述
嗨!
我刚刚开始使用Expression Blend 4,如果可以使用SketchFlow创建一个将命令行参数发送到cmd.exe的GUI,我很好奇。基本上,我想为命令行应用程序创建一个简单的前端。理想情况下,我还要
也希望命令行应用程序的反馈也出现在GUI中。谢谢!
I just started using Expression Blend 4 and am curious if it's possible to use SketchFlow to create a GUI that would send command line parameters to cmd.exe. Basically, i want to create a simple frontend for a command line application. Ideally, I'd also want the feedback from the command line application to appear in the GUI as well. Thanks!
推荐答案
如果您创建.Net / WPF程序是的。由于沙盒安全模型,Silverlight无法做到这一点。
If you create a .Net/WPF program yes. Silverlight can't do this due to the sandbox security model.
有关启动流程和读取其输出的方法,请参阅此内容。
See this for the methods to start a process and read its output.
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx
这篇关于Sketchflow和cmd.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!