Browse Source

Fixed process_test for systems without bash installed

merge-requests/413/head
eidheim 3 years ago
parent
commit
8f4fafd23d
  1. 2
      tests/process_test.cpp

2
tests/process_test.cpp

@ -31,7 +31,7 @@ int main() {
{ {
TinyProcessLib::Process process( TinyProcessLib::Process process(
"bash", "", [output](const char *bytes, size_t n) { "sh", "", [output](const char *bytes, size_t n) {
*output += std::string(bytes, n); *output += std::string(bytes, n);
}, },
nullptr, true); nullptr, true);

Loading…
Cancel
Save