当前位置:网站首页>Nppexec get process return code
Nppexec get process return code
2022-07-03 15:04:00 【trium_ KW】
Use Notepad++ NppExec When the plug-in is doing some automation work , It is often necessary to judge the latest running process ERRORLEVEL Return code , To determine whether the process is correctly executed ( Such as judgment gcc Compile for errors ). It can be implemented as follows :
cmd /c any_executable any_options
if $(EXITCODE)==0 goto SUCCESS
if $(EXITCODE)==1 goto ERROR_1
// ...
goto ERROR_DEFAULT
:SUCCESS
// handle success
:ERROR_1
// handle situation where ERRORLEVEL is 1
// etc.
That is to use $(EXITCODE) Get the return code
边栏推荐
- 牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
- C language dup2 function
- 【微信小程序】WXSS 模板样式
- Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th
- 4-33--4-35
- C language STR function
- TPS61170QDRVRQ1
- 从书本《皮囊》摘录的几个句子
- Global and Chinese market of Bus HVAC systems 2022-2028: Research Report on technology, participants, trends, market size and share
- [combinatorics] permutation and combination (set permutation, step-by-step processing example)
猜你喜欢
Pytoch deep learning and target detection practice notes
Open under vs2019 UI file QT designer flash back problem
[graphics] efficient target deformation animation based on OpenGL es 3.0
Pytorch深度学习和目标检测实战笔记
什么是one-hot encoding?Pytorch中,将label变成one hot编码的两种方式
5.4-5.5
【Transform】【实践】使用Pytorch的torch.nn.MultiheadAttention来实现self-attention
【Transform】【NLP】首次提出Transformer,Google Brain团队2017年论文《Attention is all you need》
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
[opengl] advanced chapter of texture - principle of flowmap
随机推荐
什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
Zzuli:1059 highest score
What is label encoding? How to distinguish and use one hot encoding and label encoding?
406. Reconstruct the queue according to height
【Transform】【实践】使用Pytorch的torch.nn.MultiheadAttention来实现self-attention
牛客 BM83 字符串變形(大小寫轉換,字符串反轉,字符串替換)
How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03
Tencent internship interview sorting
C string format (decimal point retention / decimal conversion, etc.)
Global and Chinese market of iron free motors 2022-2028: Research Report on technology, participants, trends, market size and share
App全局异常捕获
Chapter 14 class part 1
Yolov5系列(一)——网络可视化工具netron
零拷贝底层剖析
4-20-4-23 concurrent server, TCP state transition;
Global and Chinese markets for ionization equipment 2022-2028: Research Report on technology, participants, trends, market size and share
Remote server background hangs nohup
Joomla! CMS 3.0~3.4.6 RCE
[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University
[combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)