All of lore.kernel.org
 help / color / mirror / Atom feed
* How to call a command from another one
@ 2007-06-12 11:57 adrian15
  2007-06-12 14:16 ` Robert Millan
  0 siblings, 1 reply; 4+ messages in thread
From: adrian15 @ 2007-06-12 11:57 UTC (permalink / raw)
  To: The development of GRUB 2

Hi,

	I want to implement the pause command so that it is the same thing as
the echo command with all of its options and also that it stops.

	My first approach which I could not compile because I do not how to add
a new command to grub2 is the following one:


   char key;
   if (argc!=0)
     grub_cmd_echo(state,argc,args);
   key = grub_getkey ();

   return 0;



So my question is if it's an orthodox way of calling another command, if
I should call it in another way or if I should not call it in any way.

adrian15




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-12 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12 11:57 How to call a command from another one adrian15
2007-06-12 14:16 ` Robert Millan
2007-06-12 14:09   ` adrian15
2007-06-12 17:16     ` Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.