1 - the process reads an input of type pipeIn created with a wasm.createWritable() call, but it does not seem to catch the EOF and hang indefinitly waiting for more bytes. How can I indicates to the process that there nothing more and it should end ?
2 - at some point, the process reads a file /memory/masking.yml that is created by a call to fs.createFile("masking.yml", ...), the file exist I can get a stat (it is a regular file) but the process get an error Errno.perm ("Operation is not permitted") when trying to read it (call to path_open). Is it something I'm doing wrong ? or maybe the wasm file is not correct (i use the go compiler 1.21)
Hi,
First of all thank you for this extension, this is a great job!
I have few questions regarding MemoryFileSystem and Stdio.
First here is my current code i'm trying to get worked.
My questions are :
1 - the process reads an input of type
pipeIn
created with awasm.createWritable()
call, but it does not seem to catch the EOF and hang indefinitly waiting for more bytes. How can I indicates to the process that there nothing more and it should end ? 2 - at some point, the process reads a file/memory/masking.yml
that is created by a call tofs.createFile("masking.yml", ...)
, the file exist I can get a stat (it is a regular file) but the process get an error Errno.perm ("Operation is not permitted") when trying to read it (call topath_open
). Is it something I'm doing wrong ? or maybe the wasm file is not correct (i use the go compiler 1.21)Thank you in advance ! Any help appreciated