P
Prime
Hi all,
Does anyone know if there is a maximum length the String variable can
be in a Runtime.exec( ) command, (as in like maximum characters)? I've
searched through the API documentation, haven't found anything.
Reason for asking is I don't want the command String to be cut off
prematurely. I'm creating a .tar file, building the command to
Runtime.exec() through a StringBuffer, and looping through a List of
filenames and don't know how big that list could be. i.e. "tar -cvf
archiveName file1 file2 file3 ....fileX".
Thank you!
Patrick
Does anyone know if there is a maximum length the String variable can
be in a Runtime.exec( ) command, (as in like maximum characters)? I've
searched through the API documentation, haven't found anything.
Reason for asking is I don't want the command String to be cut off
prematurely. I'm creating a .tar file, building the command to
Runtime.exec() through a StringBuffer, and looping through a List of
filenames and don't know how big that list could be. i.e. "tar -cvf
archiveName file1 file2 file3 ....fileX".
Thank you!
Patrick