Replies: 1 comment
-
needed to pass let mut child = Command::new("nu-0.92.1-x86_64-linux-musl-full/nu")
.args(["-c", "ls"])
.spawn()
.unwrap();
let proc = child.wait().unwrap();
println!("{proc:?}"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to spawn a prebuild binary of nushell and call
ls
with it;But I got file not found error:
![image](https://private-user-images.githubusercontent.com/27722274/320300316-fa816872-70fa-49dd-b64e-a881711e29aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NDY0MTAsIm5iZiI6MTcyNTc0NjExMCwicGF0aCI6Ii8yNzcyMjI3NC8zMjAzMDAzMTYtZmE4MTY4NzItNzBmYS00OWRkLWI2NGUtYTg4MTcxMWUyOWFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDIxNTUxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjNjNjMGVjNjEwMTQwNjFmN2YyMzU4NTIxYTZmNzQwMmUyMjM1ZTg3ZGQ0NTU0MGY4Y2Q4NjYxODk3Y2IwYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RqipeZkBVghHaw9tVD1CiXd40eE_-AtgTNo0pcxIDv4)
any workaround without using custom nuscript file? thank you.
Beta Was this translation helpful? Give feedback.
All reactions