jmarsault / netbeans-command-shortcuts

13 stars 4 forks source link

Problem with quotes in Linux #4

Open germanfred opened 11 years ago

germanfred commented 11 years ago

If I add quotes around the file or folder keyword they are not passed correctly to the command line. For instance:

/usr/bin/dolphin --select "#{file}"

Trying to open the file "/media/IBSL-Backup/CLIENTS/QLT/events.qlikview.co.uk/autologin.php" results in:

The file or folder /home/jeremy/Documents/"/media/IBSL-Backup/CLIENTS/QLT/events.qlikview.co.uk does not exist

Notice that my Documents directory appears followed by a quote then the target directory - it looks like the quotes around "#{file}" are being escaped (\") before the command is issued which would cause this behaviour.

jmarsault commented 11 years ago

Could you check the new version? http://code.google.com/p/netbeans-command-shortcuts/downloads/detail?name=org-netbeans-shortcuts-1.0.3.nbm

Thanks

Janghou commented 11 years ago

Issue still exists in Netbeans 7.3, version 1.0.6 Makes this extension nearly useless on Ubuntu unfortunately