Skip to content

Instantly share code, notes, and snippets.

@Atlantic777
Created October 6, 2016 07:57
Show Gist options
  • Save Atlantic777/1bda7cbfaaccdacff14544dea2fcb6af to your computer and use it in GitHub Desktop.
Save Atlantic777/1bda7cbfaaccdacff14544dea2fcb6af to your computer and use it in GitHub Desktop.
Debugger entered--Lisp error: (file-error "Searching for program" "is a directory" "")
call-process("" nil t nil "-c" "/usr/bin/timeout --help")
apply(call-process "" nil t nil ("-c" "/usr/bin/timeout --help"))
process-file("" nil t nil "-c" "/usr/bin/timeout --help")
shell-command-to-string("/usr/bin/timeout --help")
(string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))
(and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help"))))
(if (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) (progn prog))
(when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)
(let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog))
eval((let ((prog (or (executable-find "timeout") (executable-find "gtimeout")))) (when (and prog (string-match-p "^ *-k" (shell-command-to-string (concat prog " --help")))) prog)))
byte-code("\303\304N\211\203
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment