由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - fork() in Windows C/C++
相关主题
windows scripts/usr/bin/ld: Undefined symbols:
怎样用C调用外部程序并且*捕捉其输出呢*Unix/Linux下的C++ coding 跟Windows下到底有多大不同? (转载)
C++ Grandmaster Certification [Just opened today Feb 1st 2013]develop linux apps on Windows
open source都快搞得大家没饭吃了同样的C++程序,Linux下比Windows下慢很多
各位英雄住手Windows下C++开发有前途么?
windows下面的c++有什么免费的好用的ide?C++ 模板的技术问题
Windows XP与Multithreading Programming熟悉C++,向Windows 还是Linux 方向发展? thanks
请教Visual C++ Express Edition 2008的console window感觉免费的visual studio是Windows最强IDE
相关话题的讨论汇总
话题: windows话题: fork话题: c++话题: does话题: thread
进入Programming版参与讨论
1 (共1页)
L*1
发帖数: 11537
1
Need to execute some script in the main thread, wait for it to finish, and
use the script output (saved in a file) in the main thread.
In Unix, we use fork(). Windows does not have fork. Does it have something
similar, or what's the windows way of accomplishing this task?
Thanks.
D*******a
发帖数: 3688
2
cygwin has fork(), but slow.

【在 L*1 的大作中提到】
: Need to execute some script in the main thread, wait for it to finish, and
: use the script output (saved in a file) in the main thread.
: In Unix, we use fork(). Windows does not have fork. Does it have something
: similar, or what's the windows way of accomplishing this task?
: Thanks.

L*1
发帖数: 11537
3
Thanks. As I am searching I found out that CreateProcess() and
WaitForSingleObject() pair seems to be able to do the job.
s*****k
发帖数: 604
4
system函数不是会等待外部程序执行完吗?
1 (共1页)
进入Programming版参与讨论
相关主题
感觉免费的visual studio是Windows最强IDE各位英雄住手
windows下最流行的编程语言,开发工具是啥?windows下面的c++有什么免费的好用的ide?
关于windows简单编程,那种入门最好?Windows XP与Multithreading Programming
请教一道练习题(C,OS)请教Visual C++ Express Edition 2008的console window
windows scripts/usr/bin/ld: Undefined symbols:
怎样用C调用外部程序并且*捕捉其输出呢*Unix/Linux下的C++ coding 跟Windows下到底有多大不同? (转载)
C++ Grandmaster Certification [Just opened today Feb 1st 2013]develop linux apps on Windows
open source都快搞得大家没饭吃了同样的C++程序,Linux下比Windows下慢很多
相关话题的讨论汇总
话题: windows话题: fork话题: c++话题: does话题: thread