Skip to content
Snippets Groups Projects
Commit baf3471e authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent e87a5b9e
No related branches found
No related tags found
1 merge request!2shell_run
Pipeline #1063 passed with stage
in 1 minute and 19 seconds
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <unistd.h> #include <unistd.h>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <vector>
#include <rlib/sys/os.hpp> #include <rlib/sys/os.hpp>
#if RLIB_OS_ID == OS_WINDOWS #if RLIB_OS_ID == OS_WINDOWS
...@@ -56,7 +57,7 @@ namespace rlib { ...@@ -56,7 +57,7 @@ namespace rlib {
} }
auto get_shell_name() { auto get_shell_name() {
return shell_run("echo $0").stdout_; return shell_run("echo -n $0").stdout_;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment