소스 검색

bypass command line length problem

Noah Vogt 2 년 전
부모
커밋
41f23f09e9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      input/slide_selection_iterator.py

+ 2 - 2
input/slide_selection_iterator.py

@@ -53,8 +53,8 @@ def slide_selection_iterator(
             break
 
         os.system(
-            'printf "{}" | fzf > {}'.format(
-                get_file_list_inside(rclone_local_dir),
+            "cd {} && fzf > {}".format(
+                rclone_local_dir,
                 os.path.join(
                     const.SSYNC_CACHE_DIR, const.SSYNC_CHOSEN_FILE_NAMING
                 ),