sac2c do not protect space character in folderpath or filename when constructing compiler call
Assume wsl is opened and located in the folder "user/folder1 containing spaces/folder2 containing spaces".
In this folder, I created the file world.sac.
running the command "sac2c -o world./world.sac", resulted only in a generated file called "world.c" (both expected files "world" and "world.i" were not generated).
Moreover, the shell shows the error:
cc: error: containing: No such file or directory
cc: error: spaces/folder2: No such file or directory
cc: error: containing: No such file or directory
cc: error: spaces/a.out.i: No such file or directory
cc: error: user/folder1: No such file or directory
cc: error: containing: No such file or directory
cc: error: spaces/folder2: No such file or directory
cc: error: containing: No such file or directory
cc: error: spaces/a.out.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
abort: System failed to execute shell command
abort: /usr/bin/cc -I. -I/usr/local/include/sac2c/1.3.3-MijasCosta-718-g26409/release
[...] // containing many flags and/or variables
abort: -Wno-unused -fno-builtin -E -o /user/folder1 containing spaces/folder2 containing
abort: spaces/a.out.i /user/folder1 containing spaces/folder2 containing spaces/a.out.c
abort: with exit code 1
compilation failed while Creating binary code.\