Command::new: run files that don't have x permission (executable bit)

⚓ Rust    📅 2025-09-08    👤 surdeus    👁️ 3      

surdeus

Good morning,

I have an application which has some code that runs a shell script that doesn't have an executable bit. I don't want to make the user make it executable because some programs remove that executable bit.

Is there any way to do it without that? Or do I have to set the executable bit via the script?

Thanks.

2 posts - 2 participants

Read full topic

🏷️ Rust_feed