We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f28e8 commit db9774cCopy full SHA for db9774c
src/cascadia/TerminalConnection/ConptyConnection.cpp
@@ -313,6 +313,13 @@ namespace winrt::Microsoft::Terminal::TerminalConnection::implementation
313
}
314
CATCH_LOG()
315
316
+ try
317
+ {
318
+ auto processImageName{ wil::QueryFullProcessImageNameW<std::wstring>(_piClient.hProcess) };
319
+ _clientName = std::filesystem::path{ std::move(processImageName) }.filename().wstring();
320
+ }
321
+ CATCH_LOG()
322
+
323
_pipe = std::move(pipe.server);
324
*in = pipe.client.release();
325
*out = pipeClientClone.release();
0 commit comments