Hi all,

I have yet another query relating to the NAS box. I suspect this issue
is once again due to the weird setup and ancient software.

I'm finding that during startup piping and redirecting output doesn't
work. This is using the ash shell from busybox. I have the following in
my script:

python3 ./main.py --id "NAS" 2>&1 | tee ../stdout.log

I have also tried simple redirects with > ../stdout.log, and | cat >
../stdout.log

The file is created but always remains empty regardless of what I do. It
does work when I SSH in and run commands though. Any ideas what might be
causing this? I've never encountered this behaviour before.

Thanks,

Hamish

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-03-02 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to