akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow configurable "no execute" regexes

IamCarbonMan opened this issue · comments

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).

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.