fixed empty arguments being filtered out during word splitting

This commit is contained in:
2026-02-16 19:09:10 -05:00
parent cefd55e7af
commit 6055f3434d
4 changed files with 16 additions and 12 deletions

View File

@@ -802,6 +802,6 @@ pub fn source_file(path: PathBuf) -> ShResult<()> {
let mut buf = String::new();
file.read_to_string(&mut buf)?;
exec_input(buf, None)?;
exec_input(buf, None, false)?;
Ok(())
}