src/base/win/wmi_unittest.cc
TEST_F(WMITest, TestLaunchProcess) {
  int pid = 0;
  bool result = WmiLaunchProcess(L"cmd.exe /c echo excelent!", &pid);
  EXPECT_TRUE(result);
  EXPECT_GT(pid, 0);
}
// Creates an instance of cmd which executes 'echo' and exits immediately.
Creates an instance of cmd which executes 'echo' and exits immediately.
Creates an instance of cmd which executes ' echo ' and exits immediately .
TEST_F(WMITest, TestLaunchProcess) {
  int pid = 0;
  bool result = WmiLaunchProcess(L"cmd.exe /c echo excelent!", &pid);
  EXPECT_TRUE(result);
  EXPECT_GT(pid, 0);
}
TEST_F ( WMITest , TestLaunchProcess ) { int pid = 0 ; bool result = WmiLaunchProcess ( L" " , & pid ) ; EXPECT_TRUE ( result ) ; EXPECT_GT ( pid , 0 ) ; }
Creates an instance of cmd which executes 'echo' and exits immediately.
Creates an instance of cmd which executes ' echo ' and exits immediately .