mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 07:34:36 +00:00
add "deno run" subcommand (#2215)
This commit is contained in:
parent
3608117132
commit
f6a9d7d717
54 changed files with 314 additions and 210 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue