private void ExecCheckExe(){ string exefile = "d:\\chktool\\checktool.exe"; if (File.Exists(exefile)) { Process process = new Process(); ProcessStartI ...
zabbix_get调试脚本报错: [root@chaofeng sql]# zabbix_get -s 127.0.0.1 -k pgsql.ping (Not all processes could be identified, non-owned process info will not b ...
分类:
其他好文 时间:
2020-05-02 11:33:40
阅读次数:
184
#! /bin/bash #download url file_name file_dir define download_url=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.18.tgz file_name=${downloa ...
分类:
数据库 时间:
2020-05-02 09:24:48
阅读次数:
65
[TOC] 一、回顾 回顾Java的Runtime类可以单独启动一个进程来运行操作系统的命令,如下程序所示: 二、Runtime对象的exec()产生Process对象的 使用Runtime对象的exec()方法可以运行平台上的其他程序,该方法产生一个Process对象,Process对象代表由该J ...
分类:
编程语言 时间:
2020-05-01 20:26:18
阅读次数:
64
maven项目编译报错如下: 点击【项目名】提示 也就是说找不到xml文件 解决方案: 找到setting.xml,引入即可 再次执行mvn clean ...
分类:
其他好文 时间:
2020-05-01 12:46:39
阅读次数:
1901
在根目录下创建两个文件,这样的好处在于不用手动去书写判断环境替换路径代码 .env.development(开发) .env.production(生产) 内容: 必须是VUE_APP前缀开头,这样webpack可以运行或者打包时候,会将其集成到process.env中 如: 1 // .env.d ...
分类:
其他好文 时间:
2020-04-30 23:15:28
阅读次数:
268
{ "workbench.iconTheme": "material-icon-theme", "explorer.confirmDragAndDrop": false, "explorer.confirmDelete": false, //配置eslint "eslint.autoFixOnSav ...
分类:
其他好文 时间:
2020-04-30 19:34:30
阅读次数:
250
方法有两个: 1、进入到SVN的setting界面 重启生效 2、HKEY_LOCAL_MACHINE->SOFTWARE->Microsoft->Windows->CurrentVersion->Explorer->ShelllconOverlayldentifiers 把SVN的注册表前 加两个 ...
由于项目要求,需要实现一个列表目录显示信息,并且需要实现每一项提供进度条和选项框功能,所以需要继承QAbstractTableModel和QStyledItemDelegate进行自定义。 -自定义数据 itemdata.h #ifndef ITEMDATA_H #define ITEMDATA_H ...
分类:
其他好文 时间:
2020-04-30 15:19:40
阅读次数:
46
Description Write an algorithm to determine if a number n is "happy". A happy number is a number defined by the following process: Starting with any p ...
分类:
移动开发 时间:
2020-04-30 13:32:04
阅读次数:
91