Add possibility for flavor to patch command line before execution (https://github...
[idea/community.git] / python / src / com / jetbrains / python / sdk / flavors / PythonSdkFlavor.java
index 59de303a73fbf38204ebfda5a2fa5e384320c75f..5181beb33af4633dda753095a4487e279921c2e5 100644 (file)
@@ -29,6 +29,7 @@ import com.intellij.openapi.util.text.StringUtil;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.util.PatternUtil;
 import com.jetbrains.python.psi.LanguageLevel;
+import com.jetbrains.python.run.CommandLinePatcher;
 import com.jetbrains.python.sdk.PySdkUtil;
 import com.jetbrains.python.sdk.PythonEnvUtil;
 import com.jetbrains.python.sdk.PythonSdkAdditionalData;
@@ -256,4 +257,9 @@ public abstract class PythonSdkFlavor {
   public VirtualFile getSdkPath(VirtualFile path) {
     return path;
   }
+
+  @Nullable
+  public CommandLinePatcher commandLinePatcher() {
+    return null;
+  }
 }