// 启动 npm
pm2 start --name testName npm -- run start
// 启动 yarn
pm2 start --name testName yarn -- start
// 查看任务
pm2 ls
// 查看log日志
pm2 log 1
pm2 save --- 保存列表
pm2 startup
// 从资源管理器中复制文件到剪贴板
let filePath;
if (remote.process.platform == 'win32') { // windows
// 只读取一个文件路径
const rawFilePath = clipboard.readBuffer('FileNameW').toString('ucs2');
filePa
false字符串taro 1.2.xxvar show = false
{ show && <Component /> }