1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-16 17:50:28 +03:00

expose as_command API on CommandBuilder publicly

This commit is contained in:
Mehul Kar 2024-01-08 21:04:45 -06:00
parent 1c0901957d
commit cfa6231ac9

View File

@ -474,7 +474,7 @@ impl CommandBuilder {
}
/// Convert the CommandBuilder to a `std::process::Command` instance.
pub(crate) fn as_command(&self) -> anyhow::Result<std::process::Command> {
pub fn as_command(&self) -> anyhow::Result<std::process::Command> {
use std::os::unix::process::CommandExt;
let home = self.get_home_dir()?;