This commit is contained in:
parent
b51ba8deaf
commit
b721c21d9f
2 changed files with 11 additions and 3 deletions
|
@ -561,7 +561,8 @@ pub fn read_file_tar_raw(
|
|||
.arg("-f")
|
||||
.arg("-") // Indicate that the file input comes from stdin
|
||||
.arg(file_path)
|
||||
.stdin(Stdio::piped()) // Open a pipe to provide the tar data
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
.spawn()
|
||||
.ok()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue