running a script how??????????
Jan-H. Jureit
der_janni at gmx.de
Wed Apr 3 16:47:41 BST 2002
----- Original Message -----
From: mostafa atteyah <mostafai2001 at hotmail.com>
To: <kdevelop at kdevelop.org>
Sent: Tuesday, April 02, 2002 7:40 PM
Subject: Re: running a script how??????????
> hii
> i am a beginner but not to that degree
> i add a lot of slots and write code in the and test a lot of member
> functions
> but my problem is how to add a code in my new slot to run a specific
command
> or script on the console.
If I understand it right, just call the old ANSI-C function "int
system("script/command name")". You have to include <stdlib.h>. It also
returns the exit() value of the script but this is implementation dependent.
Worked well for me.
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list