Opened 9 years ago

Closed 9 years ago

#9488 closed Bugs (wontfix)

bjam.exe and doskey not getting along

Reported by: Matt <matthewbrown@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

I just ran into a really strange bug... Attemptign to install boost to be available to Visual Studio Express 2012, I attempted a the following method of install:

1) Open a Visual Studio command prompt. From the start menu it's: All Programs|Microsoft Visual Studio 11|Native x64 Command Prompt. 2) Unzip boost_1_48_0.zip and set the working directory to boost_1_48_0 3) run bootstrap.bat 4) run bjam.exe

All went well until I ran bjam.exe. I got to the "Building the Boost C++ Libraries" and then doskey crashed repeatedly.

I have doskey being run everytime an instance of cmd.exe, is executed (via a batch script in HKCU\Software\Microsoft\Command Processor: reg_sz AutoRun). If I remove doskey from the AutoRun script, the crash does not occur.

The would make sense if bjam.exe was calling processes via cmd.exe, which seems like odd practice (I think).

Attachments (1)

cmd_start.txt (228 bytes ) - added by Matt <matthewbrown@…> 9 years ago.

Download all attachments as: .zip

Change History (2)

by Matt <matthewbrown@…>, 9 years ago

Attachment: cmd_start.txt added

comment:1 by Steven Watanabe, 9 years ago

Resolution: wontfix
Status: newclosed

The updating commands are interpreted as batch scripts on Windows, which need to be run using cmd.exe. (Other platforms use /bin/sh). I don't think there's any way we can work around this in Boost.Build.

Note: See TracTickets for help on using tickets.