Jim George wrote:
>> cmd.exe is surprisingly more powerful than a lot of people realize
>> though I still personally abhor it.
>> -jkl
>>
>
> May be so, but you can't do things that you take for granted in Unix,
> like running multiple commands in sequence with a semicolon. And, as
You can strin
> cmd.exe is surprisingly more powerful than a lot of people realize
> though I still personally abhor it.
> -jkl
>
May be so, but you can't do things that you take for granted in Unix,
like running multiple commands in sequence with a semicolon. And, as
far as I know, the "system" function in mo
On Thu, Nov 23, 2006 at 10:23:13PM -0700, Jim George wrote:
> > shell to run the commandline specified. I'm not sure the behavior on
> > Windows, but I imagine it probably uses the windows shell to execute the
> > command line.
>
> There is no shell in Windows, and there is no argument parsing of
Jim George writes:
> There is no shell in Windows,
Well, there is obviously no POSIX shell, but there sure is an
interactive command interpreter, cmd.exe. (I am ignoring command.com
in the obsolete Win9x/ME.)
> and there is no argument parsing of the command line, AFAIK
The system() function i
On Fri, Nov 24, 2006 at 04:42:52AM +0200, Tor Lillqvist wrote:
>
> But for somebody who doesn't know about system(), the g_spawn*()
> functions probably have too many options to get lost in...
Only until the naturally following question: `I run
system("/usr/games/same-gnome"); and my program froz
> shell to run the commandline specified. I'm not sure the behavior on
> Windows, but I imagine it probably uses the windows shell to execute the
> command line.
There is no shell in Windows, and there is no argument parsing of the
command line, AFAIK
_
On Fri, 2006-11-24 at 04:42 +0200, Tor Lillqvist wrote:
> Michael Torrie writes:
> > there are routines in glib that should help you:
>
> > http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
>
> > This is probably the most portable mechanism for running processes.
>
> Bu
Michael Torrie writes:
> there are routines in glib that should help you:
> http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
> This is probably the most portable mechanism for running processes.
But for somebody who doesn't know about system(), the g_spawn*()
functions
sunzysjzri writes:
> I want run "/usr/games/same-gnome" for example, how to do it?
system ("/usr/games/same-gnome");
--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Fri, 2006-11-24 at 10:26 +0800, sunzysjzri wrote:
> >sunzy writes:
> > > how to run a new application in a button's callback function??
> >
> >system() ?
> >
> >--tml
> >
> would you like to write it clearly?
> e.g.
> my button cal
>sunzy writes:
> > how to run a new application in a button's callback function??
>
>system() ?
>
>--tml
>
would you like to write it clearly?
e.g.
my button callback function:
void leftbutton_clicked(GtkWidget *widget, gpointer my_data)
{
}
and I want run "/usr/
sunzysjzri writes:
> how to run a new application in a button's callback function??
system() ?
--tml
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
hi,
how to run a new application in a button's callback function??
sun zhiyong
2006-11-24
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
13 matches
Mail list logo