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:
parent
1c0901957d
commit
cfa6231ac9
@ -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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user