Hi all
I am using Pluto and PyCall to run a whole python script which prints a stream of data to a file, using an asynch loop which I just check using tail. If I run it in REPL it works like a champ but in Pluto there is no output to the file. What am I missing please?
here is the print statement.
def output_redirection(conid)
print( conid, file=open("/tmp/server.log","a"))
and here is the tail statement.
tail -f /tmp/server.log
this works wonderfully in REPL but NOT in Pluto. I run the cell below and there is no error and no output.
@pyinclude("test_file.py")