mysociety/commonlib — Issue #1: Call to taskset looks distinctly linuxy
Author: rooodini
Created: 2012-02-14 16:05:50+00:00
State: open

Had to hack [this call to taskset](https://github.com/mysociety/commonlib/blob/master/perllib/mySociety/Config.pm#L125) to work on OSX.

Could this maybe go something like:

```
if (exec("uname") ne SOME_DEBIAN_THING) {
# Using taskset to deal with debian 5 php/mysql extension bug,
# by restricting to one processor
exec('taskset', '0x1', $php_path) or throw Error::Simple "$php_path: exec: $!";
}
```