我使用ClearCase资源管理器创建了一个视图.
但是在创建之后,视图在浏览器中的视图列表中不可见.
我试图关闭资源管理器并重新开始.但是没有用......
你会建议什么?
我正在使用以下代码通过CreateProcess()API执行“ taskkill”命令。
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi) );
TCHAR cmd[] = TEXT("taskkill /F /T /IM <exe name>");
if (CreateProcess(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, & pi))
{
// wait for child process to exit
DWORD waitForStatus = WaitForSingleObject(pi.hProcess, 10000);
// close process and thread handles
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
/* code to throw exception based on the return value waitForStatus */
}
else
{
/* code to throw exception if …Run Code Online (Sandbox Code Playgroud)