#Run examples on Windows

11 messages · Page 1 of 1 (latest)

meager shuttle
#

Anyone know how to run the Piping to files example on Windows?
https://deno.land/manual@v1.30.3/examples/subprocess

'yes' is ignored, and I get a final error for the kill request

process.kill("SIGINT");

error: Uncaught PermissionDenied: Access is denied. (os error 5)
process.kill("SIGINT");

sour mural
#

I believe this api is being deprecated so I think this example should be updated

meager shuttle
#

Will there be any instruction for this example on Windows?

meager shuttle
sour mural
#

Deno.Command is the alternative

#

there are docs but it's unstable until next major release (1.31.0)

meager shuttle
#

Thanks party_deno

#

I've never used this help before. Can I close this?

sour mural
#

It just stays open but you can rename the title to make it clear you don't still need help

#

though honestly I would avoid doing that until you have whatever you wanted to have working working

meager shuttle
#

Thanks again.