ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58555] The dir attribute on Exec is not used if matches working directory
Date Wed, 28 Oct 2015 05:12:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58555

--- Comment #6 from Stefan Bodewig <bodewig@apache.org> ---
Of course it all made sense back then, at least until the change was made.

Prior to that dir always defaulted to the current working directory.  Java 1.2
and earlier only had a Runtime.exec without a dir argument so we were forced to
use special platform dependent tricks for changing the directory.  Setting dir
to null explicitly when it was the current working directory simplified the
bigger number of platform dependent hacks (no dir => use Runtime.exec).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message