Skip to content

Commit

Permalink
[Sensors@claudiux] v3.5.0 - Subprocess improvement
Browse files Browse the repository at this point in the history
[Sensors@claudiux] v3.5.0 - Subprocess improvement
  • Loading branch information
claudiux authored Jan 19, 2024
2 parents 9e4debd + d5389da commit 23983e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Sensors@claudiux/files/Sensors@claudiux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v3.5.0~20240119
* Improves subprocesses.

### v3.4.0~20240107
* Fixes #5352.
* Added an option in the General tab to display a tooltip or not.
Expand Down
3 changes: 2 additions & 1 deletion Sensors@claudiux/files/Sensors@claudiux/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ function spawnCommandLineAsyncIO(command, callback, opts = {}) {
let subprocess = new Gio.Subprocess({
argv: argv ? argv : ['bash', '-c', command],
flags: flags ? flags
: Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDIN_PIPE | Gio.SubprocessFlags.STDERR_PIPE,
: Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDIN_PIPE | Gio.SubprocessFlags.STDERR_PIPE | GLib.SpawnFlags.DO_NOT_REAP_CHILD | GLib.SpawnFlags.LEAVE_DESCRIPTORS_OPEN
//~ : Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDIN_PIPE | Gio.SubprocessFlags.STDERR_PIPE
});
subprocess.init(null);
let cancellable = new Gio.Cancellable();
Expand Down
5 changes: 3 additions & 2 deletions Sensors@claudiux/files/Sensors@claudiux/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"uuid": "Sensors@claudiux",
"name": "Sensors Monitor",
"description": "Displays the values of many computer sensors concerning Temperatures (CPU - GPU - Power Supply), Fan Speed, Voltages, Intrusions. Notifies you with color changes when a value reaches or exceeds its limit.",
"version": "3.4.0",
"version": "3.5.0",
"max-instances": 1,
"cinnamon-version": ["3.8", "4.0", "4.2", "4.4", "4.6", "4.8", "5.0", "5.2", "5.4", "5.6", "5.8"]
"cinnamon-version": ["3.8", "4.0", "4.2", "4.4", "4.6", "4.8", "5.0", "5.2", "5.4", "5.6", "5.8", "6.0"],
"author": "claudiux"
}

0 comments on commit 23983e2

Please sign in to comment.