Closed
Bug 373684
Opened 17 years ago
Closed 16 years ago
xpcshell on MozillaBuild needs -i to provide js prompt
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: WeirdAl, Unassigned)
References
Details
Without the -i parameter, we never get a js> prompt; xpcshell simply freezes. Steps to reproduce: (1) Build trunk on MozillaBuild for Windows. (2) Within the MozillaBuild environment, chdir to dist/bin, execute |xpcshell -w -s|. Pike suggested -i to make it work, and he's right.
Comment 1•17 years ago
|
||
This means that isatty() is returning the wrong value when launched from an msys shell. I wonder why.
Comment 2•17 years ago
|
||
Same thing happens from a cygwin shell. I recall it working OK if you're launching it from a windows cmd shell.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
Duh on reload, reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 4•17 years ago
|
||
It's worth mentioning that -i isn't documented: http://www.mozilla.org/scriptable/XPCShell.html
Comment 5•17 years ago
|
||
So it turns out this is because msys (and cygwin) shells like rxvt uses windows pipes, which return false for isatty(). This sucks, but there's apparently no way around it. So we should just document the flag and move on with our puny little lives. We could alternately run bash in a windows console, instead of rxvt, if that makes things better somehow.
Comment 6•17 years ago
|
||
Mass re-assign of MozillaBuild bugs into mozilla.org:MozillaBuild
Component: Build Config → MozillaBuild
Product: Core → mozilla.org
Version: unspecified → other
Updated•17 years ago
|
Status: REOPENED → NEW
QA Contact: build-config → mozillabuild
Comment 7•16 years ago
|
||
We switched to using the Windows console in MozillaBuild 1.3, so this works fine now.
Status: NEW → RESOLVED
Closed: 17 years ago → 16 years ago
Resolution: --- → WORKSFORME
Updated•1 year ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•