Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
来自CMD VB.net的提要_.net_Vb.net_Cmd - Fatal编程技术网

来自CMD VB.net的提要

来自CMD VB.net的提要,.net,vb.net,cmd,.net,Vb.net,Cmd,我正在为Minecraft Coder pack编写一个实用程序。它处理运行python的批处理文件。是否可以从cmd读写到文本框中,并运行vb.net命令到cmd?是。请看我的回答: 基本上,您希望隐藏窗口,并重定向标准输入/输出 Dim p as New Process With p.StartInfo .WindowStyle=ProcessWindowStyle.Hidden .RedirectStandardOutput=true .RedirectStanda

我正在为Minecraft Coder pack编写一个实用程序。它处理运行python的批处理文件。是否可以从cmd读写到文本框中,并运行vb.net命令到cmd?

是。请看我的回答:

基本上,您希望隐藏窗口,并重定向标准输入/输出

Dim p as New Process
With p.StartInfo
    .WindowStyle=ProcessWindowStyle.Hidden
    .RedirectStandardOutput=true
    .RedirectStandardInput=true
End With
然后,您可以使用和进行读写


您还可以在中找到更多要设置的选项。

是。请看我的回答:

基本上,您希望隐藏窗口,并重定向标准输入/输出

Dim p as New Process
With p.StartInfo
    .WindowStyle=ProcessWindowStyle.Hidden
    .RedirectStandardOutput=true
    .RedirectStandardInput=true
End With
然后,您可以使用和进行读写

您也可以在中找到更多要设置的选项