Waiting for VS Code to exit #176
-
Hi! The documentation says the following about
But I'm doing this: var code = await Cli.Wrap("code")
.WithArguments(tempFile)
.ExecuteAsync(); and the code continues (resolves the Am I using CliWrap wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I jumped the gun. It seems that there's a way to run VS Code without such issues.
This has nothing to do with |
Beta Was this translation helpful? Give feedback.
I jumped the gun. It seems that there's a way to run VS Code without such issues.
code --wait
, as per documentation will wait until the file is closed in order to return.This has nothing to do with
CliWrap
. Case closed.