[GLLUG] c++ help sanitizing
Clay Dowling
clay at lazarusid.com
Fri Sep 19 16:11:33 EDT 2008
Mike wrote:
> I think the system() function is a standard C (ISO 89, 99) function that
> always uses the shell, (cmd.exe, bash, <whatever's system dependant>).
>
> I'd think it'd be better to use CreateProcess() or something, that
> doesn't use the shell at all.
> http://msdn.microsoft.com/en-us/library/ms682425.aspx
You're right, I meant CreateProcess.
msdn is definitely the right place to look for code examples.
Okay, I'm off to buy beer ingredients.
Clay
More information about the linux-user
mailing list