Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created February 17, 2018 13:02
Show Gist options
  • Save Fhernd/ba92758994d7099262a89b9085c0f387 to your computer and use it in GitHub Desktop.
Save Fhernd/ba92758994d7099262a89b9085c0f387 to your computer and use it in GitHub Desktop.
Creación de un subproceso en Python.
import subprocess
resultado_listado_dir = subprocess.run(['ls', '-l'], stdout=subprocess.PIPE)
print(resultado_listado_dir.stdout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment