Skip to content

Commit

Permalink
fix(Dockerfile): Fixing issue with terminals using code interpreter.
Browse files Browse the repository at this point in the history
  • Loading branch information
frostaura committed Feb 24, 2024
1 parent cfdd86b commit c299814
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>FrostAura.Libraries.Intelligence.Semantic.Core</id>
<version>1.7.5</version>
<version>1.7.6</version>
<title>FrostAura.Libraries.Intelligence.Semantic.Core</title>
<authors>Dean Martin</authors>
<owners>FrostAura</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private async Task<string> ExecuteProcessAsync(string fileName, string command,
fileName = $"~/miniconda3/bin/{fileName}";
}

// If on macOS or Linux, use zsh
// If on macOS or Linux, use bash
process.StartInfo.FileName = "/bin/bash";
process.StartInfo.Arguments = $"-c \"{fileName} {command}\"";
}
Expand Down Expand Up @@ -269,8 +269,8 @@ private async Task<string> ExecutePythonProcessAsync(string fileName, string cod
fileName = $"~/miniconda3/bin/{fileName}";
}

// If on macOS or Linux, use zsh.
process.StartInfo.FileName = "/bin/zsh";
// If on macOS or Linux, use bash.
process.StartInfo.FileName = "/bin/bash";
process.StartInfo.Arguments = $"-c \"{fileName} {tempScriptFilePath}\"";
}

Expand Down

0 comments on commit c299814

Please sign in to comment.