Subprocesses

shell-command-to-string

(shell-command-to-string "ping -c 3 google.com")

start-process

(start-process "ping -c 3 google.com")

call-process

(call-process nil nil nil "ping" "-c" "3" "google.com")