From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-25 06:13:56
Well... the stage.py test still fails under msvc. It turned out to be harder
to fix this. Look at the attached test. It's supposed to do nothing,
only print the directory where "bjam" is run. It prints it, something like
and this short name breaks things. When I cd to the same directory and
run the same bjam command like, I get
C:\Documents and Settings\....
IOW, invoking bjam from Python causes problems. I'm not that eager to find
out what's wrong with out test system... it would be nice if we can convert
short current path into long current path.
Does anyone knows a Windows API function which can return long path given a
short one? I've tried to look, but found none.
Volodya --------------Boundary-00=_8VXAQRPBJKYGXSPZJY7V Content-Type: text/x-python;
Content-Disposition: attachment; filename="pwd.py"
from BoostBuild import Tester, List
# Create a temporary working directory
t = Tester(verbose=1)
# Create the needed files
ECHO [ PWD ] ;
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk