Ticket #496 (closed defect: duplicate)

Opened 4 years ago

Last modified 3 months ago

ShellCommand not working with params on Windows

Reported by: ipv6guru Owned by:
Priority: major Milestone: 0.8.+
Version: 0.8.3p1 Keywords: windows
Cc:

Description

As follow up to mail thread on the dev list:  http://sourceforge.net/mailarchive/forum.php?thread_id=30770272&forum_id=32 301

ShellCommand? steps to a windows build slave don't work properly. I can identify two different problems:

  • cannot pass a path with spaces in it
  • cannot pass parameters to the command

Error output: '"C:Program Files (x86)Microsoft Visual Studio 8Common7IDEdevenv.exe"" /build ""Debug|Win32"' is not recognized as an internal or external command, operable program or batch file.

C:WINDOWSsystem32cmd.exe /c "C:Program Files (x86)Microsoft Visual Studio 8Common7IDEdevenv.exe" /build "Debug|Win32" /out build.log in dir d:BuildBotwin32uild (timeout 1200 secs) watching logfiles {} argv: ['C:\WINDOWS\system32\cmd.exe', '/c', '"C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"', '/build', '"Debug|Win32"', '/out', 'build.log']

The slave is an XP x64 box. Submitted: Timothee Besset ( ttimo ) - 2006-10-25 04:36

Change History

comment:1 Changed 4 years ago by ipv6guru

Moved from sourceforge

comment:2 Changed 4 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed

I think that marcus has since fixed this up.

comment:3 Changed 4 years ago by zooko

Since the args included a pipe char, this is probably an instance of  http://twistedmatrix.com/trac/ticket/3933 . Dustin: do you remember what marcus changed that may have fixed this?

comment:4 Changed 4 years ago by dustin

sorry, no -- the windows stuff is foreign to me, and untestable by me, so I largely take it on faith.

comment:5 Changed 2 years ago by dabrahams

  • Status changed from closed to reopened
  • Resolution fixed deleted

This is definitely not fixed. At least, I still can't launch an executable with a space in its pathname. Do you not have a windows buildslave testing this? If you do have a windows buildslave, are you testing that specific case?

comment:6 Changed 2 years ago by dabrahams

  • Version changed from 0.7.10 to 0.8.3p1

comment:7 Changed 2 years ago by dustin

  • Keywords windows added; sourceforge 1584002 removed
  • Milestone changed from undecided to 0.8.+

Nope, this needs a windows maintainer to take a look. I can't test if I don't know how to fix it.

comment:8 Changed 2 years ago by fcrestois

look a duplicate of #377

comment:9 Changed 2 years ago by dustin

Is it? This deals specifically with | in the args - or is that just a special-case of bug #377?

comment:10 Changed 3 months ago by dustin

  • Status changed from reopened to closed
  • Resolution set to duplicate

Yes, dupe #377, which is fixed.

Note: See TracTickets for help on using tickets.