Unix administration - Length of command for execve

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2005 > Length of command for execve





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Length of command for execve
Prime

2005-12-20, 5:57 pm

Hello,

I am currently running a Java program that calls
Runtime.getRuntime().exec on my Solaris 9 system. This method calls
the unix command execve. Thing is, I do not know how long (in terms of
characters) the command string may be.

How do I find on my system the maximum allowed length for a command?

Similarly, how do I find out how many parameters any one command can
take?


Thank you,

Patrick

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com