Cursor.Current = Cursors.WaitCursor;

Process process = new Process();

//不显示 console 窗口
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;

process.StartInfo.FileName = @"C:\Python27\Python.exe";
process.StartInfo.WorkingDirectory = get_app_path();
process.StartInfo.Arguments = get_app_path() + "parser.py";
process.Start();

process.WaitForExit();
Cursor.Current = Cursors.Default;

相关文章:

  • 2021-11-05
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2021-10-07
  • 2021-06-21
  • 2021-06-18
相关资源
相似解决方案