From 55a364f33fdcf0512f14f58b6af30073b1da0a4b Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 20 Dec 2021 22:40:14 -0800 Subject: [PATCH] Add example command passed to subprocess in find_file --- file_scripts/search.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/file_scripts/search.py b/file_scripts/search.py index 2d6c463..edeb471 100644 --- a/file_scripts/search.py +++ b/file_scripts/search.py @@ -52,6 +52,9 @@ def find_files( :returns: path of user-selected file :rtype: bytes, str if capture_text was initialized from None """ + + # Sample of a command that gets passed to subprocess: + # ['/usr/bin/find', '--hidden', '--', '', 'path/to/directory'] cmd = [bin_override if bin_override is not None else FIND_CMD, *opts] cmd.append("--")