Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 C++ 表单应用程序中编写命令行?C++ 中似乎有一个可以调用 CMD ( Process::Start("cmd.exe")) 的函数调用。
Process::Start("cmd.exe")
有人知道如何添加参数吗?所以在cmd中,我想运行这个命令:tesseract in_image out_text.
tesseract in_image out_text
怎么样: Process::Start( "C:\\Program Files\<path>\tesseract.exe" "in_image out_text" ); msdn文档
Process::Start( "C:\\Program Files\<path>\tesseract.exe" "in_image out_text" );