Procer + OSX Snow Leopard + nohup
- From:
- Daniel Huckstep
- Date:
- 2011-02-05 @ 23:25
Are there any known problems with this combination? The setup I have works
fine on a 64-bit Ubuntu box, but on my MacBook I get this from nohup:
nohup: can't detach from console: Inappropriate ioctl for device
I'm using the exact same "run" script as on the Ubuntu box.
#!/bin/sh
cd /path/to/my/app
nohup node server.js >stdout.log 2>stderr.log &
echo $! > node.pid
Tried adding a "< /dev/null" to the nohup call (even though I don't use
stdin) which doesn't solve anything. Tried using bash instead of sh too. It
just barfs.
--
Daniel Huckstep
http://blog.darkhax.com/