History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-8972
Type: Bug Bug
Status: Open Open
Assignee: Eugene Zhuravlev
Reporter: Stefan Kreutter
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

External Tools: unable to use double-quotes (") in 'Parameters:'

Created: 22 Aug 06 17:14   Updated: 08 Jan 07 20:17
Component/s: IDE Configuration

Environment: Mac OS X 10.4.7 PPC

Build: 5,622
Severity: High


 Description  « Hide
I want to execute this command as an external tool:

Program: /usr/bin/osascript
Parameters: -e 'tell application "Finder"' -e 'activate' -e 'reveal (POSIX file "$FilePath$")' -e 'end tell'

The double-quotes around Finder and $FilePath$ are important. I checked the parameters using the command line and it works. IntelliJ IDEA writes the following line in the run-log:

---snip--
/usr/bin/osascript -e 'tell application Finder' -e 'activate' -e 'reveal (POSIX file /tmp/foo)' -e 'end tell'
0:1: syntax error: A unknown token can't go here. (-2740)

Process finished with exit code 1
--snap--

It seems like IDEA removes the double-quotes. I tried to quote them with a backslash but that didn't work... it shows up as \" in the log...



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.