bugmake - Bugs: bug #26891, make enters interactive shell

 
 

bug #26891: make enters interactive shell

Submitted by:  None
Submitted on:  Thu 25 Jun 2009 09:28:51 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: Eli Zaretskii <eliz>Open/Closed: Closed
Component Version: 3.81Operating System: MS Windows
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 12 Jul 2010 06:49:38 PM UTC, comment #2:

In 3.82 we have .SHELLFLAGS, and based on your comment about quoting etc. I'm not sure it's worthwhile to try to do even more special-casing here.

Eli, go ahead and reopen if you disagree (but please mark this "Enhancement" instead of "Bug", and if you have an idea set the Triage Status appropriately).

Paul D. Smith <psmith>
Project Administrator
Sat 27 Jun 2009 09:16:35 AM UTC, comment #1:

It's not a bug, strictly speaking: SHELL should only be set to a command that supports a "-c ARGUMENT" invocation. CMD.EXE does not, so you invoke it as "cmd.exe -c SOMETHING" whereas it expects "cmd.exe /c SOMETHING" (and in addition the quoting in SOMETHING is wrong for CMD).

I will see if I can add special treatment for Windows shells in this case, but no promises.

Eli Zaretskii <eliz>
Project MemberIn charge of this item.
Thu 25 Jun 2009 09:28:51 PM UTC, original submission:

# makefile
all : aaa bbb

aaa : ; @echo "ok"
bbb : ; @echo "ok"

aaa : SHELL = cmd.exe
bbb : SHELL = sh.exe

$ make
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All Rights Reserved.

C:\test\make>_
[at that point one needs to type 'exit<enter>']
ok

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by eliz (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Jul 2010 06:49:38 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed
    Sat 27 Jun 2009 09:16:35 AM UTCelizAssigned toNone=>eliz

    Back to the top


    Powered by Savane 3.1-cleanup1