-
I am running a Moon task that invokes a CLI with the task setting Example 1: moon.yml tasks:
askName:
command: python
args:
- "ask_name.py"
local: true
options:
cache: false
interactive: true ask_name.py import click
name = click.prompt('What is your name?')
print(f'Hello, {name}!') In this case the process is aborted. Example 2: ...
ask-name:
command: ["powershell.exe", "Read-Host \"What is your name?\""]
local: true
options:
cache: false
interactive: true In this case task is executed but I was not able to enter any input Any suggestions ? |
Beta Was this translation helpful? Give feedback.
Answered by
milesj
Oct 15, 2025
Replies: 1 comment 13 replies
-
@jcommuri Does it work if you remove |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah ok, that makes more sense. I'll have to test on my windows machine.
In the meantime, if you set
shell: false
in the task options, does that help?