add "deno run" subcommand (#2215)

This commit is contained in:
Bartek Iwańczuk 2019-05-03 23:15:16 +02:00 committed by Ryan Dahl
parent 3608117132
commit f6a9d7d717
54 changed files with 314 additions and 210 deletions

View file

@ -71,7 +71,8 @@ class Prompt(object):
def run(self, flags, args, bytes_input):
"Returns (return_code, stdout, stderr)."
cmd = [self.deno_exe] + flags + [PERMISSIONS_PROMPT_TEST_TS] + args
cmd = [self.deno_exe, "run"] + flags + [PERMISSIONS_PROMPT_TEST_TS
] + args
return tty_capture(cmd, bytes_input)
def warm_up(self):