i have a problem between nc and tee,
tee should take the output of nc and print it inside a TXT FILE as you all know.
in kali its working fine, but in Ubuntu the file is created but empty. (nothing is written in it)
i'm using python to call this to command.
cmdping = "sleep 5; echo load_audio "+ids[i][0]+"| nc 127.0.0.1 1234 |
tee >> "+logtxt
p=subprocess.Popen(cmdping, shell=True, stderr=subprocess.PIPE)
i think its a permission issue, or not i don't know, help is appreciated, thank you.