nohup: can't detach from console: Inappropriate ioctl for device

Hi!

I am getting a nohup issue on mac osx while trying to start a process through nohup in the startup script.

nohup: can't detach from console: Inappropriate ioctl for device

Please help!

Thanks,

Allan.