Last Comment Bug 427141 - nsIProcess should open command consoles when running batch files
: nsIProcess should open command consoles when running batch files
: regression
Product: Core
Classification: Components
Component: XPCOM (show other bugs)
: Trunk
: x86 Windows XP
-- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Nathan Froyd [:froydnj]
Depends on:
Blocks: 421751
  Show dependency treegraph
Reported: 2008-04-04 15:39 PDT by Adam Lesien
Modified: 2008-04-05 03:34 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Adam Lesien 2008-04-04 15:39:12 PDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv: Gecko/20080311 Firefox/
Build Identifier: changed behavior.

with my extenstion I would like to open command prompt window or see batch
output and now it's impossible?

Reproducible: Always

Steps to Reproduce:

path = System32+"cmd.exe"
var file = Components.classes[";1"]
var process = Components.classes[";1"]

var args = ["/k", "cd", varParam];, args, args.length);

Actual Results:  
no console window

Expected Results:  
the same as Gecko 1.8 - console window visible
Comment 1 User image Adam Lesien 2008-04-04 15:41:45 PDT

Is it possible to expose CREATE_NO_WINDOW flag in nsIProcess

Comment 2 User image :Gavin Sharp [email:] 2008-04-04 23:16:54 PDT
This was an intentional change, made in bug 421751. nsIProcess is frozen and can't easily be changed.
Comment 3 User image Dan Mills [:thunder] 2008-04-05 00:08:22 PDT
Adam, in bug 421751 comment #14 I gave you an example of how to run a command, with arguments, in a visible command window.  Why do you still say it's impossible?

FWIW, on other platforms we do not (and did not before bug 421751) open any command windows when executing external processes.

Note You need to log in before you can comment on or make changes to this bug.