Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main: Hide console windows on execution. #90

Open
wants to merge 1 commit into
base: mailextension
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions content/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ var tblatex = {
var init_process = function(path) {
var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess);
process.init(path);
process.startHidden = true;
return process;
}
var sanitize_arg = function(arg) {
Expand Down Expand Up @@ -369,14 +370,6 @@ var tblatex = {
log += ("*** Path is "+png_file.path+"\n");
}

// We must leave some time for the window manager to actually get rid of the
// old terminal windows that pop up on Windows when launching latex.
if (isWindows) {
setTimeout(function () {
window.focus();
}, 500);
}

// Read the depth (distance between base of image and baseline) from the depth file
if (!depth_file.exists()) {
log += "dvipng did not output a depth file. Continuing without alignment.\n";
Expand Down