Oh sorry for the typo in the subject, fixed; Thanks, I’ll give a try. Thanks, G
From: Hoa Nguyen <[email protected]> Sent: Thursday, December 15, 2022 5:28 AM To: The gem5 Users mailing list <[email protected]> Cc: Ginger Luo 罗江 <[email protected]> Subject: Re: [gem5-users] args passing to binary workload in FS 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 <[email protected]<mailto:[email protected]>> 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 -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]>
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
