Only aim to control 'mdworker' firstly, so I write a code on my own. Actually, it's useless now. Only work on Mac(BSD).