mirror of
https://github.com/dw-0/kiauh.git
synced 2026-04-01 23:35:13 +05:00
Compare commits
3 Commits
cd0d375952
...
4d857a0034
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d857a0034 | ||
|
|
8547942986 | ||
|
|
d190a60ff7 |
@@ -154,7 +154,7 @@ prompt and confirm by hitting ENTER.
|
|||||||
<tr>
|
<tr>
|
||||||
<th><h3><a href="https://github.com/Clon1998/mobileraker_companion">Mobileraker's Companion</a></h3></th>
|
<th><h3><a href="https://github.com/Clon1998/mobileraker_companion">Mobileraker's Companion</a></h3></th>
|
||||||
<th><h3><a href="https://octoeverywhere.com/?source=kiauh_readme">OctoEverywhere For Klipper</a></h3></th>
|
<th><h3><a href="https://octoeverywhere.com/?source=kiauh_readme">OctoEverywhere For Klipper</a></h3></th>
|
||||||
<th><h3><a href="https://github.com/crysxd/OctoPrint-OctoApp">OctoApp For Klipper</a></h3></th>
|
<th><h3><a href="https://github.com/crysxd/OctoApp-Plugin">OctoApp For Klipper</a></h3></th>
|
||||||
<th><h3></h3></th>
|
<th><h3></h3></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ class ShellCommand:
|
|||||||
self.command = shlex.split(cmd)
|
self.command = shlex.split(cmd)
|
||||||
self.timeout = config.getfloat('timeout', 2., above=0.)
|
self.timeout = config.getfloat('timeout', 2., above=0.)
|
||||||
self.verbose = config.getboolean('verbose', True)
|
self.verbose = config.getboolean('verbose', True)
|
||||||
|
self.terminate = config.getboolean('terminate', True)
|
||||||
self.proc_fd = None
|
self.proc_fd = None
|
||||||
self.partial_output = ""
|
self.partial_output = ""
|
||||||
self.gcode.register_mux_command(
|
self.gcode.register_mux_command(
|
||||||
@@ -68,7 +69,7 @@ class ShellCommand:
|
|||||||
if proc.poll() is not None:
|
if proc.poll() is not None:
|
||||||
complete = True
|
complete = True
|
||||||
break
|
break
|
||||||
if not complete:
|
if not complete and self.terminate:
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
if self.partial_output:
|
if self.partial_output:
|
||||||
|
|||||||
Reference in New Issue
Block a user