Closed ram535 closed 4 years ago
So the parser in dshell isn't smart enough to handle a file name with spaces. Let me have a look at improving the parser.
On Wed, 15 Jan 2020, 6:33 pm Ramses, notifications@github.com wrote:
When I run this program in the terminal:
okular Introduction\ to\ Recursive\ Programming.pdf
It runs normally, but when I run:
' okular Introduction\ to\ Recursive\ Programming.pdf'run;
It behaves like if I run something like this:
okular Introduction okular to okular Recursive okular programming.pdf
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bsutton/dshell/issues/43?email_source=notifications&email_token=AAG32ODT5EPKUYTJNC7PAK3Q5234PA5CNFSM4KG67OJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGISAUA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32ODUXEGEZARNVZOO4XLQ5234PANCNFSM4KG67OJA .
I've just published 1.0.42 with a fix for this issue. Instead of using \ just quote the argument. e.g.
'okular "Introduction to Recursive Programming.pdf"'run;
When I run this program in the terminal:
It runs normally, but when I run:
It behaves like if I run something like this: