当前位置:网站首页>What is the difference between a kill process and a close process- What are the differences between kill process and close process?
What is the difference between a kill process and a close process- What are the differences between kill process and close process?
2022-07-03 19:38:00 【Technology feast】
problem :
When I start a process and want to close this process, what are the differences between Process.Close() and Process.Kill() ? When I start a process and want to close it , Process.Close() and Process.Kill() What's the difference between ?
I asked because I have an application which starts to capture packet using Wireshark with a command via command line with Windows = hidden . I asked , Because I have an application to start using Wireshark Use... On the command line Windows = hidden To capture packets .so when I want to stop the capturing I kill the process .So sometimes the capture opens with an error that the last packet was cut in the middle so I am wondering can using close() before kill() will solve this issue ? therefore , When I want to stop capturing , I will terminate the process . Therefore, sometimes the capture will open and display the error that the last packet is cut in the middle , So I want to know that you can kill() Before using close()kill() To solve this problem ?
When I start capturing I can close it by pressing Ctrl + C but in my case I open the window in hidden state, Can I do something similar via my code ? When I began to capture , I can press Ctrl + C Close it , But in my case , I open the hidden window , Can I do similar things through my code ?
Solution :
Reference resources : https://stackoom.com/en/question/wXiV边栏推荐
- Ego planner code parsing Bspline_ Optimizer section (1)
- Difference between surface go1 and surface GO2 (non professional comparison)
- math_ Taylor formula
- Day10 ---- 强制登录, token刷新与jwt禁用
- Chapter 1: recursively find the factorial n of n!
- 交叉编译Opencv带Contrib
- 2022-06-30 网工进阶(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】
- Latex image rotates with title
- Chapter 1: find the algebraic sum of odd factors, find the same decimal sum s (D, n), simplify the same code decimal sum s (D, n), expand the same code decimal sum s (D, n)
- Luogu-p1107 [bjwc2008] Lei Tao's kitten
猜你喜欢

2022-06-27 网工进阶(十二)IS-IS-开销类型、开销计算、LSP的处理机制、路由撤销、路由渗透

Ego planner code parsing Bspline_ Optimizer section (2)

Flume learning notes

01 - QT OpenGL display OpenGL window

Part 28 supplement (XXVIII) busyindicator (waiting for elements)

Bright purple crystal meso tetra (4-aminophenyl) porphyrin tapp/tapppt/tappco/tappcd/tappzn/tapppd/tappcu/tappni/tappfe/tappmn metal complex - supplied by Qiyue

BOC protected phenylalanine zinc porphyrin (Zn · TAPP Phe BOC) / iron porphyrin (Fe · TAPP Phe BOC) / nickel porphyrin (Ni · TAPP Phe BOC) / manganese porphyrin (Mn · TAPP Phe BOC) Qiyue Keke

2022-06-30 網工進階(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】

2022-07-02 advanced network engineering (XV) routing policy - route policy feature, policy based routing, MQC (modular QoS command line)

kubernetes集群搭建efk日志收集平台
随机推荐
Zhang Fei hardware 90 day learning notes - personal records on day 4, please see my personal profile / homepage for the complete
交叉编译Opencv带Contrib
PR 2021 quick start tutorial, how to create new projects and basic settings of preferences?
Meso tetra [P - (p-n-carbazole benzylidene imino)] phenylporphyrin (tcipp) /eu (tcipp) [pc( α- 2-oc8h17) 4] and euh (tcipp) [pc (a-2-oc8h17) 4] supplied by Qiyue
Xctf attack and defense world crypto advanced area best_ rsa
Think of new ways
[leetcode] [SQL] notes
BOC protected tryptophan zinc porphyrin (Zn · TAPP Trp BOC) / copper porphyrin (Cu · TAPP Trp BOC) / cobalt porphyrin (cobalt · TAPP Trp BOC) / iron porphyrin (Fe · TAPP Trp BOC) / Qiyue supply
Difference between surface go1 and surface GO2 (non professional comparison)
Chapter 2: 4-digit Kaplan number, search even digit Kaplan number, search n-digit 2-segment sum square number, m-digit ingenious square number without 0, specify the number to form a 7-digit square nu
Chapter 1: simplify the same code decimal sum s (D, n)
Floating source code comment (38) parallel job processor
Strict data sheet of new features of SQLite 3.37.0
2022-06-27 advanced network engineering (XII) IS-IS overhead type, overhead calculation, LSP processing mechanism, route revocation, route penetration
Chapter 1: sum of three factorials, graph point scanning
2022-06-28 advanced network engineering (XIII) IS-IS route filtering, route summary, authentication, factors affecting the establishment of Isis neighbor relations, other commands and characteristics
01 - QT OpenGL display OpenGL window
WPF format datetime in TextBlock- WPF format DateTime in TextBlock?
2022-07-02 advanced network engineering (XV) routing policy - route policy feature, policy based routing, MQC (modular QoS command line)
BOC protected phenylalanine zinc porphyrin (Zn · TAPP Phe BOC) / iron porphyrin (Fe · TAPP Phe BOC) / nickel porphyrin (Ni · TAPP Phe BOC) / manganese porphyrin (Mn · TAPP Phe BOC) Qiyue Keke