Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OSX setsid command not found #86

Closed
mehrna opened this issue Dec 23, 2018 · 1 comment
Closed

Mac OSX setsid command not found #86

mehrna opened this issue Dec 23, 2018 · 1 comment

Comments

@mehrna
Copy link

mehrna commented Dec 23, 2018

I'm using Mac OSX (high sierra) as a develop machine. After running ./yii queue/listen on DbQueue (MySQL) it shows :

Listening to queue...
queueSize: 4011 , opened: 0 , limit: 1
Running new process...
Running setsid /usr/local/Cellar/php/7.2.10/bin/php /Users/mehran/Projects/www/html/SamaNext/yii queue/run (mode: single)
Running in sync mode
sh: setsid: command not found
Done, cleaning:1578
Cleanning up 1578
Error
sh: setsid: command not found

It seems that setsid is missing on OSX.
what is your idea @petrabarus ? what should I do?

@mehrna mehrna closed this as completed Jan 3, 2019
@mehrna
Copy link
Author

mehrna commented Jan 22, 2019

For those how need to know, just use this library:
https://github.com/jerrykuch/ersatz-setsid
This is an ersatz setsid command for those Unixes (e.g. Mac OS X)
that don't have one. It's intended to work like (or enough like)
the one from the util-linux-ng package that I can run the RabbitMQ
test suite as of Summer 2011 on a Mac OS X dev machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant