On Sun, Sep 20, 2020, 6:11 PM Chris Johns <chr...@rtems.org> wrote: > On 21/9/20 1:23 am, Sebastian Huber wrote: > > On 18/09/2020 22:21, sebastian.hu...@embedded-brains.de wrote: > > > >> + cd rtems-tools-9fcc20789367ef476eb9ffbc6e2f9fabf686e10f > >> + ./waf distclean configure '--prefix=/usr/local/rtems/6' > >> Fatal Python error: Py_Initialize: can't initialize sys standard streams > >> OSError: [Errno 9] Bad file descriptor > > There seems to be an issue with the Python interpreter on FreeBSD 12.1. > I called > > it from a nohup shell. > > It is not Python or the RSB. It is a security feature of FreeBSD. You have > closed the parent process that owned stdout and with it gone FreeBSD says > you > cannot run. Joel also struggled with this when he moved Linux workflows to > FreeBSD for testing > > I use tmux and avoid nohup. >
Add </dev/null on the nohup and you will be ok. Chris' solution does work but doesn't address starting from Cron > > Chris > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel