aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-24 15:36:59 +0100
committerGitHub Enterprise <[email protected]>2026-02-24 15:36:59 +0100
commit3cfc1b18f6b86b9830730f0055b8e3b955b77c95 (patch)
treea4ab26cbfe2b30580408685634b74934936c2ee6 /src/zencore/include
parentVarious bug fixes (#778) (diff)
downloadzen-3cfc1b18f6b86b9830730f0055b8e3b955b77c95.tar.xz
zen-3cfc1b18f6b86b9830730f0055b8e3b955b77c95.zip
Add `zen ui` command (#779)
Allows user to automate launching of zenserver dashboard, including when multiple instances are running. If multiple instances are running you can open all dashboards with `--all`, and also using the in-terminal chooser which also allows you to open a specific instance. Also includes a fix to `zen exec` when using offset/stride/limit
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/process.h b/src/zencore/include/zencore/process.h
index e3b7a70d7..c51163a68 100644
--- a/src/zencore/include/zencore/process.h
+++ b/src/zencore/include/zencore/process.h
@@ -105,6 +105,7 @@ int GetCurrentProcessId();
int GetProcessId(CreateProcResult ProcId);
std::filesystem::path GetProcessExecutablePath(int Pid, std::error_code& OutEc);
+std::string GetProcessCommandLine(int Pid, std::error_code& OutEc);
std::error_code FindProcess(const std::filesystem::path& ExecutableImage, ProcessHandle& OutHandle, bool IncludeSelf = true);
/** Wait for all threads in the current process to exit (except the calling thread)