Closed nkpap closed 9 months ago
Try to add --no-stdin
option.
marp --no-stdin $FILE -o ${FILE%.md}.pdf
If Marp CLI detected opening stdin stream, Marp CLI tries to read stdin as Markdown contents and waits to close it. In the case you've provided, inotifywait -m
looks like not to close the stdin stream so CLI would not begin the conversion.
Hi Yuki, Thank you it works like a charm! It makes sense now. BR Nikos
Hi all, I try to run the following bash script but it doesn't create any pdf. However if the invoked command is
marp --version
it is executed. The same applies if the command to be executed iscp $FILE $FILE.pdf
excluding any file permission issues.Am I missing something? Thank you