2

Not C++ like boost::process or Qt but plain C. Is there any open-source cross-platform C library for working with processes?

myWallJSON
  • 9,110
  • 22
  • 78
  • 149

2 Answers2

1

glib (think Gnome) is the peer of Qt (think Kde) but being written in C. There is a section titled Spawning Processes that may be of interest.

Steve-o
  • 12,678
  • 2
  • 41
  • 60
1

Depending on what you're trying to achieve and what you mean by "cross platform", you could write everything to target POSIX and just use Cygwin for your Windows port. I think that covers Linux, Unix, OSX (aka BSD), and Windows XP - Win 7, and any RTOS with a POSIX layer (e.g. QNX). Not sure if Cygwin works on Win 8.

See also: What is the closest thing windows has to fork()?

Community
  • 1
  • 1
Brian McFarland
  • 9,052
  • 6
  • 38
  • 56