Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

@async run(`sleep 3`) is not async

Open fonsp opened this issue 3 years ago • 3 comments

https://user-images.githubusercontent.com/6933510/169283887-63dda4f6-2dcb-48b2-b0b0-6fba489733ca.mov

fonsp avatar May 19 '22 11:05 fonsp

More useful example, you can't do this:

@async run(`$(Deno_jll.deno()) run --allow-read --allow-net https://deno.land/[email protected]/http/file_server.ts --port 9052`)

fonsp avatar May 19 '22 11:05 fonsp

Using capture_stdout=false seems to workaround the problem :thinking:

Pangoraw avatar May 19 '22 19:05 Pangoraw

Probably stuck on line 2175 of PlutoRunner.jl, what happens if we remove it?

Op 19 mei 2022 om 21:31 heeft Paul Berg @.***> het volgende geschreven:

 Using capture_stdout=false seems to workaround the problem 🤔

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

fonsp avatar May 20 '22 08:05 fonsp