Hi, It seems that it's down to how se.py parses the arguments. Specifically, the string passed to "-o" will always be splitted with the space character as the delimiter as shown here, https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/configs/example/se.py#98
You can change the parsing logic there to avoid parsing the space characters inside a pair of quotes. Also note that se.py is not for simulation in FS mode. Regards, Hoa Nguyen On Wed, Dec 14, 2022 at 12:19 AM Ginger Luo 罗江 via gem5-users < gem5-users@gem5.org> wrote: > Hello, > > > > I’m trying to pass a string containing blank char to binary workload, but > seems the quotes will also be passed: > > > > * command line: ./build/RISCV/gem5.opt configs/example/se.py > --caches -c /home/vmware/repos/fibo/md5 -o ' 1 "bull foo bar" '* > > > > The commandline of the binary will receive “hello foo bar” with the > quotes, if I remove the inner quote pair, only bull will be received, how > can I just get the 3 words without quotes? Thanks a lot! > > > > *Thanks, G* > > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org