You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a path that contains a space, the perf wrapper will throw an error and fail because it performs commands using the shell_out function and passes this function a string where it simply concatinates all the arguments.
The shell_out function will then split the string into arguments, but in doing so, split a path that contains a space into two separate arguments instead of one path as an argument.
This will then fail in the various command line tools that it calls.
This also means that you will get errors if you put a space in your CampaignCartesianProduct benchmark name because it uses this name to generate a folder for the output.
If you get this error because you have a space in the path leading to your campaign due to a folder with a space in it then you brought this on yourself because who does such a thing :P
The text was updated successfully, but these errors were encountered:
aaronbog
added a commit
to aaronbog/benchkit
that referenced
this issue
May 20, 2024
Aaah these spaces in paths.. ruining everything :D
With @aaronbog we are working on a revamp of the "shelling out" low-level implementation. These issues should disappear in the new version.
If you have a path that contains a space, the perf wrapper will throw an error and fail because it performs commands using the
shell_out
function and passes this function a string where it simply concatinates all the arguments.The
shell_out
function will then split the string into arguments, but in doing so, split a path that contains a space into two separate arguments instead of one path as an argument.This will then fail in the various command line tools that it calls.
This also means that you will get errors if you put a space in your
CampaignCartesianProduct
benchmark name because it uses this name to generate a folder for the output.If you get this error because you have a space in the path leading to your campaign due to a folder with a space in it then you brought this on yourself because who does such a thing :P
The text was updated successfully, but these errors were encountered: