How do I use Glib::spawn_async_with_pipes on Windows



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]