Replies: 1 comment
-
|
I've moved this to Discussions. I think the short answer to your question is "don't do that" - just try to execute the command and handle the failure when it doesn't exist. Any other approach is vulnerable to TOCTOU bugs. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to check shell command if exists with deno but there is no way?
In my mind is bellow.
I try to found functions but I couldn't found it form modules.
https://deno.land/std@0.96.0/path
https://deno.land/std@0.96.0/fs
Beta Was this translation helpful? Give feedback.
All reactions