a_util::process::execute() doesn't correctly work with paths containing whitespaces
Table of contents
Current buggy behavior
a_util::process::execute()
doesn't correctly work with paths containing whitespaces. The process will not be started as result. It occured with Windows (Linux not tested).
This problem arose in context with ticket digitalwerk/solutions/adtf_content/adtf_tools/ddl_utility#76 (closed)
Steps to reproduce
Follow instructions in digitalwerk/solutions/adtf_content/adtf_tools/ddl_utility#76 (closed) .
Expected correct behavior
-
The process is started when calling a_util::process::execute()
. -
Path::operator+
should throw on error
Additional hints
preparePaths()
yields a single quote for path, it should have converted a path to a string before escape.
check exception handling in appending absolute path
Edited by Andreas Ringlstetter