You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some commands require user's input after the command executes.
for example, clipboard command cb paste give prompts for confirmation if there are files with same name in clipboard.
I tried local output, err = Command('cb'):arg('paste'):spawn():wait_with_output() with stdin / stdout / stderr for all parameter.
only in the case of stderr is Commnad.PIPED, it works with paste forcely.
other case, output.stdin or output.stdout doesn't include any confirmation message.
how to catch the confirmation message after command executes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
some commands require user's input after the command executes.
for example, clipboard command
cb paste
give prompts for confirmation if there are files with same name in clipboard.I tried
local output, err = Command('cb'):arg('paste'):spawn():wait_with_output()
with stdin / stdout / stderr for all parameter.only in the case of
stderr
isCommnad.PIPED
, it works with paste forcely.other case,
output.stdin
oroutput.stdout
doesn't include any confirmation message.how to catch the confirmation message after command executes?
Beta Was this translation helpful? Give feedback.
All reactions