running wt should use the current working directory #3125
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
When you start cmd or powershell with ShellExecuteEx or CreateProcess then you can define a working directory, cmd or powershell will start with that working directory but not wt. Is this unsupported or is there a setting?
SHELLEXECUTEINFO shExecInf
shExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
shExecInfo.fMask = NULL;
shExecInfo.hwnd = hwnd;
shExecInfo.lpVerb = verb.c_str();
shExecInfo.lpFile = path.c_str();
shExecInfo.lpParameters = args.c_str();
shExecInfo.lpDirectory = DirectoryExist(szDir) ? szDir : NULL;
shExecInfo.nShow = Items[i]->HideWindow ? SW_HIDE : SW_NORMAL;
shExecInfo.hInstApp = NULL;
The text was updated successfully, but these errors were encountered: