windows 安装服务

方法1 :sc 安装 1 2 3 //bin目录加上 "s" 证明是从windows服务启动该程序 sc create server_name binpath="bin_path s"