akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview
Apache License 2.0
8.39k stars 129 forks source link

Allow configurable "no execute" regexes #16

Closed IamCarbonMan closed 6 years ago

IamCarbonMan commented 6 years ago

I feel like a lot of us could be more comfortable using this if we could set a regex or some other way of preventing the program from previewing commands that might be destructive (rm, dd, shutdown, etc).

akavel commented 6 years ago

Thanks for the idea! My current plan is to disable "auto-execution" by default, and spawn the subprocess only after user presses Enter. I'm considering leaving an option to have the current "always executing" mode enabled via a parameter.

I'm closing this as a duplicate, as the general problem is already being discussed in #8.