mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix problem with single quote in project path
http://youtrack.jetbrains.com/issue/PY-10179
This commit is contained in:
@@ -222,7 +222,7 @@ public class RunPythonConsoleAction extends AnAction implements DumbAware {
|
||||
final String path = Joiner.on(", ").join(Collections2.transform(pythonPath, new Function<String, String>() {
|
||||
@Override
|
||||
public String apply(String input) {
|
||||
return "'" + input.replace("\\", "\\\\") + "'";
|
||||
return "'" + input.replace("\\", "\\\\").replace("'", "\\'") + "'";
|
||||
}
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user