VBScript threading

前端 未结 1 613
栀梦
栀梦 2021-02-11 01:28

A while back I smashed together this multithreading code in vbscript and I\'ve just pulled it out again to apply it to another problem. I\'m now having an issue where the return

1条回答
  •  孤城傲影
    2021-02-11 02:21

    Sorry, wsh.Run() is not threading by any stretch of the imagination. It starts a new process, not a thread.

    Getting 0 as a return is the expected outcome if you do not use the 4th argument. Documentation is here.

    0 讨论(0)
提交回复
热议问题