How do I use Glib::spawn_async_with_pipes on Windows
- From: "Paulo Flabiano Smorigo" <pfsmorigo gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: How do I use Glib::spawn_async_with_pipes on Windows
- Date: Wed, 27 Aug 2008 14:50:10 -0300
Hi everybody,
How do I use Glib::spawn_async_with_pipes for Windows?
On Linux I use the following:
std::vector<std::string> args;
args.push_back("mplayer");
args.push_back("-quiet");
args.push_back("-slave");
.push_back("-idle");
args.push_back(filename);
Glib::spawn_async_with_pipes("/usr/bin", args, Glib::SpawnFlags(0), sigc::slot<void>(), &m_intPlayerPID, &m_intPlayerIn, &m_intPlayerOut, &m_intPlayerError);
Thanks in advance,
Paulo Flabiano Smorigo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]