Remember me

Lost Password?

Register now!
Who's Online
65 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 64

sinisrus, more...
Support us!
Recent OS4 Files
Report message:*

Re: Do we have an execpl replacement?

Subject: Re: Do we have an execpl replacement?
by LiveForIt on 2018/2/20 21:01:16


It good start to read about command.


what is suppose to return and so on...

it should be to hard to implemented.

you execute it with command system() its priority easy to use.


all you need to is kind create new command line string, should be too hard, you need some "" symbols around args, and you need to calculate size of buffer from number of args, and number of extra symbols like "", and null terminate symbol \0.

strcpy and strcat can do that, or you use sprintf, sure there are lots more, or you can write your own.
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project