site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, for (int i=1; i<argc; i++) { char *arg = argv[i]; while(*arg) *arg++ = "#"; } Is there any way to do this on darwin? Thanks, _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I'm writing a command line tool. When I call this tool from my app I like to hide those parameters so that ps or other tools like this can not see them. I tried the following code Set my my argument to something unreadable but this doesn't help. I still see the parameters when I do a ps. Martin ------------------------------------------------------------------------ ----------------------- Martin Bestmann Netopia Development GmbH Phone: +49-9134-9942-0 Weingasse 26 Fax: +49-9134-997911 91077 Neunkirchen am Brand e-mail:martin@no.netopia.com Germany This email sent to site_archiver@lists.apple.com