add process.kill in killall function. for in some system cannot get environ