|
|
1
2
我不认为您可以在同一个控制台中运行,但是您可以通过重定向标准输出来获得输出:
|
|
|
2
2
我不认为您可以在同一个控制台中运行,因为它被您的应用程序占用了。如果只是为了展示你可以使用的输出
stream redirection
您甚至可以通过以下方式将流重定向到应用程序 ProcessStartInfo.RedirectStandardOutput Process.StandardOutput |