diff options
Diffstat (limited to 'hyprtester/src/tests/main/exec.cpp')
| -rw-r--r-- | hyprtester/src/tests/main/exec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprtester/src/tests/main/exec.cpp b/hyprtester/src/tests/main/exec.cpp index a410494a..099f2cbc 100644 --- a/hyprtester/src/tests/main/exec.cpp +++ b/hyprtester/src/tests/main/exec.cpp @@ -24,7 +24,7 @@ static bool test() { for (const auto duration : SLEEP_DURATIONS) { // Note: POSIX sleep does not support fractional seconds, so // can't sleep for less than 1 second. - OK(getFromSocket(std::format("/dispatch exec sleep {}", duration))); + OK(getFromSocket(std::format("/dispatch hl.dsp.exec_cmd('sleep {}')", duration))); // Ensure that sleep is our child const std::string sleepPidS = Tests::execAndGet("pgrep sleep"); |
