当前位置:网站首页>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
边栏推荐
- [transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018
- High quality workplace human beings must use software to recommend, and you certainly don't know the last one
- Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text
- Yolov5进阶之七目标追踪最新环境搭建(二)
- 【微信小程序】WXSS 模板样式
- 【pytorch学习笔记】Datasets and Dataloaders
- Série yolov5 (i) - - netron, un outil de visualisation de réseau
- Joomla! CMS 3.0~3.4.6 RCE
- C # realizes the login interface, and the password asterisk is displayed (hide the input password)
- 零拷贝底层剖析
猜你喜欢
[pytorch learning notes] datasets and dataloaders
[graphics] hair simulation in tressfx
【Transform】【NLP】首次提出Transformer,Google Brain团队2017年论文《Attention is all you need》
Implement Gobang with C language
Pytorch深度学习和目标检测实战笔记
5.4-5.5
【注意力机制】【首篇ViT】DETR,End-to-End Object Detection with Transformers网络的主要组成是CNN和Transformer
复合类型(自定义类型)
B2020 分糖果
[set theory] inclusion exclusion principle (complex example)
随机推荐
[ue4] HISM large scale vegetation rendering solution
Talking about part of data storage in C language
[opengl] face pinching system
C language fcntl function
Mysql报错:[ERROR] mysqld: File ‘./mysql-bin.010228‘ not found (Errcode: 2 “No such file or directory“)
Mmdetection learning rate and batch_ Size relationship
Global and Chinese markets for transparent OLED displays 2022-2028: Research Report on technology, participants, trends, market size and share
[graphics] real shading in Unreal Engine 4
[opengl] geometry shader
Container of symfony
Vs+qt application development, set software icon icon
TPS61170QDRVRQ1
Remote server background hangs nohup
el-switch 赋值后状态不变化
2022/02/14
从书本《皮囊》摘录的几个句子
.NET六大设计原则个人白话理解,有误请大神指正
Bucket sorting in C language
复合类型(自定义类型)
Influxdb2 sources add data sources