Re: g_spawn_async_with_pipes problems
- From: Havoc Pennington <hp redhat com>
- To: Neil Hodge <neh attbi com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: g_spawn_async_with_pipes problems
- Date: Fri, 14 Feb 2003 22:33:11 -0500
On Fri, Feb 14, 2003 at 07:12:09PM -0800, Neil Hodge wrote:
All:
I am just setting up some test code to see if I can get
g_spawn_async_with_pipes working, but I can't seem to make it work.
Here is the code:
gchar **argv;
GError *err = NULL;
*(argv+0) = g_strdup_printf("/usr/bin/xmms");
argv points to nothing (it is just junk); thus, "bad address,"
EFAULT.
Read up on pointers and malloc()
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]