Process.start:如何獲得輸出? - Process.start: how to get the output?

問題:

I would like to run an external command line program from my Mono/.NET app.我想從我的 Mono/.NET 應用程序運行外部命令行程序。 For example, I would like to run mencoder .例如,我想運行mencoder Is it possible:是否有可能:

  1. To get the command line shell output, and write it on my text box?要獲取命令行 shell 輸出,並將其寫在我的文本框中?
  2. To get the numerical value to show a progress bar with time elapsed?要獲取數值以顯示經過時間的進度條?

解決方案:

參考一: https://stackoom.com/question/I0WO
參考二: Process.start: how to get the output?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章