RRZE-HPC / likwid

Performance monitoring and benchmarking suite
https://hpc.fau.de/research/tools/likwid/
GNU General Public License v3.0
1.65k stars 226 forks source link

[BUG] LIKWID Tools remove " from command lines #487

Closed TomTheBear closed 1 year ago

TomTheBear commented 1 year ago

Describe the bug

When an application accepts a properly quoted string as argument, the LIKWID tools remove the quotes.

To Reproduce

$ cat test.sh 
#!/bin/bash -l
echo "$1"
$ ./test.sh "bla bla"
bla bla
$ likwid-pin -c 0 ./test.sh "bla bla"
[likwid-pin] Main PID -> hwthread 0 - OK
bla