commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GMail <>
Subject Re: [io] FileSystemUtils.freeSpaceKb on unix gives OS error
Date Wed, 19 May 2010 13:07:41 GMT
Hello levi,

That's a the only description that you might get - external process exited with error.

What kind of UNIX do you have?

Check what environment java process has (PATH and other variables
might be different for logged in user and process), what is the
directory where process is running.

Wednesday, May 19, 2010, 8:27:37 AM, you wrote:
> Hi,

> I'm testing an app on Windows and Unix with commons-io-1.4.jar
> On Windows calculating the freeSpace is OK,
> but on Unix I get the following error.
> Executing 'df -k' manually on the machine works as expected. Too bad we
> don't see a better error description. Does anyone have any hints where to
> look for the problem? Maybe userrights?

> Command line returned OS error code '1' for command
> [df, -k, ]
> at
> at
> at
> at

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message