use_path fix
This commit is contained in:
parent
60ebc1d5b8
commit
5f12c8f0b9
|
@ -570,7 +570,7 @@ OSTD_EXPORT void subprocess::open_impl(
|
|||
)) {
|
||||
throw process_error{"unicode conversion failed"};
|
||||
}
|
||||
if (use_path) {
|
||||
if (!use_path) {
|
||||
cmdpath = wcmd.get();
|
||||
} else {
|
||||
cmdpath = resolve_file(wcmd.get());
|
||||
|
|
Loading…
Reference in a new issue