search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

1 answers
Q&A C# try catch块怎么没有捕捉到异常呢?System.InvalidOperationException

0

3012529262-57d5fcc34d8c9_articlex.png

nginxProc已经里头有异常了哈

Your Answer
submit

1 answers
0

进程里捕捉不到子进程异常的。

进程间的交互一般是通过 exitcode,stdout, stdin, stderr。复杂点的会有管道、Socket 等。

子进程的异常只能在子进程里处理,然后通过上面提到的方式传递出来,主进程去抓。


2016-11-12 13:35:08

submit

Popular tool

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use