exec: long string
Hi there,
i simply want to open an ebook via i3-msg
. To do so, i tried to execute the following command
i3-msg exec "xdg-open \"/home/johannes/Calibre Library/Robert Faludi/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing (597)/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing - Robert Faludi.pdf\""
unfortunately it doesn't work and the command returns
ERROR: Your command: exec xdg-open "/home/johannes/Calibre Library/Robert Faludi/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing (597)/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing - Robert Faludi.pdf"
ERROR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'split', 'floating', 'mark', 'resize', 'rename', 'nop', 'scratchpad', 'mode'
[{"success":true},{"success":false,"parse_error":true,"error":"Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'split', 'floating', 'mark', 'resize', 'rename', 'nop', 'scratchpad', 'mode'","input":"exec xdg-open \"/home/johannes/Calibre Library/Robert Faludi/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing (597)/Building Wireless Sensor Networks_ With ZigBee, XBee, Arduino, and Processing - Robert Faludi.pdf\"","errorposition":" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"}]
However if i execute a comparable command
i3-msg exec "xdg-open \"/home/johannes/Calibre Library/D. J. Amit/Statistical Physics an Introductory Course (164)/Statistical Physics an Introductory Course - D. J. Amit.pdf\""
the specified ebook is opened flawlessly. Of course both files exist.
Does anybody know how to successfully execute both commands with i3-msg exec
?