project: Temporarily disable terminal activation scripts on windows (#37361)
They seem to break things on window right now Release Notes: - N/A
This commit is contained in:
@@ -186,6 +186,7 @@ impl Project {
|
||||
)?,
|
||||
},
|
||||
None => match activation_script.clone() {
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
activation_script if !activation_script.is_empty() => {
|
||||
let activation_script = activation_script.join("; ");
|
||||
let to_run = if let Some(command) = spawn_task.command {
|
||||
|
||||
@@ -531,7 +531,7 @@ impl TerminalBuilder {
|
||||
},
|
||||
};
|
||||
|
||||
if !activation_script.is_empty() && no_task {
|
||||
if cfg!(not(target_os = "windows")) && !activation_script.is_empty() && no_task {
|
||||
for activation_script in activation_script {
|
||||
terminal.input(activation_script.into_bytes());
|
||||
terminal.write_to_pty(b"\n");
|
||||
|
||||
Reference in New Issue
Block a user