From 8f4fafd23d67fd2aadae1b1de9ff28f1896103d8 Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 19 Jun 2023 13:30:43 +0200 Subject: [PATCH] Fixed process_test for systems without bash installed --- tests/process_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/process_test.cpp b/tests/process_test.cpp index fd0664e..c030043 100644 --- a/tests/process_test.cpp +++ b/tests/process_test.cpp @@ -31,7 +31,7 @@ int main() { { TinyProcessLib::Process process( - "bash", "", [output](const char *bytes, size_t n) { + "sh", "", [output](const char *bytes, size_t n) { *output += std::string(bytes, n); }, nullptr, true);