Commit Graph

59 Commits

Author SHA1 Message Date
Rod Clayton
8f2342d4fd Update host.py
Misspelled word classes
2021-08-21 17:36:00 +02:00
CatSlave007
b0d4abdd44 fix bugs
fix use pyinstaller  package,  it will be wrong
2021-01-31 19:48:28 +01:00
CatSlave007
d2cf84a9a9 fix throw UnicodeDecodeError #47 2021-01-31 19:46:57 +01:00
Benedek Racz
c8977d8460 Fix blocking pipe connection
The console application could be run forever in case of connection errors
2020-04-18 12:45:51 +02:00
Benedek Racz
031b7caa81 Add error hanling in bundled mode 2020-04-09 14:44:32 +02:00
Benedek Racz
af8d24df1d Introduce WEXPECT_EXECUTABLE environment variable for pyinstaller
Last versions searched wexpect executable ../wexpect/wexpect.exe in
bindled mode. This was hard coded. Now the (optional) WEXPECT_EXECUTABLE
environment variable can point to wexpect executable.

See #12 for more details.
2020-04-09 10:02:04 +02:00
Benedek Racz
4687573f3b [ADD] SpawnPipe is the default spawn class 2020-04-08 14:21:13 +02:00
Benedek Racz
9cdc9a280b [DOC] Add all API documentation 2020-04-07 12:04:06 +02:00
Benedek Racz
2e96ee155a [REM] Remove internal classes from __all__ 2020-04-07 12:02:10 +02:00
Benedek Racz
1153176f4f [TST] Improove code coverity 2020-04-06 13:07:49 +02:00
Benedek Racz
f53331ed61 [ADD] improove terminate function, reduce wait. [FIX] add fixes for testcases, to pass Socket tests. 2020-04-05 13:26:51 +02:00
Benedek Racz
215f688562 [FIX] use flag_eof, and make more robust terminating process 2020-04-05 09:10:15 +02:00
Benedek Racz
3ba138a6fc [FIX] EOF handling moved upper to handle exception of last characters' patterns 2020-04-02 19:50:45 +02:00
Benedek Racz
be7bd4be4f [FIX] PYTHONPATH grew run-to-run. Fix #31 2020-03-30 16:39:48 +02:00
Benedek Racz
b9e1a06296 [FIX][TST] some test was skipped accidentally; [CLN] add no cover for unwanted exceptions. 2020-03-30 15:09:39 +02:00
Benedek Racz
524cf0e7c3 [FIX] Infinite length console: #35 2020-03-30 13:20:01 +02:00
Benedek Racz
a3acabda73 [FIX] Socket-mode port has not been added to the argument list. Fix: #34 2020-03-30 09:31:31 +02:00
Benedek Racz
08e2ffa109 [FIX] fix duplicated logging #28 2020-03-30 09:05:36 +02:00
Benedek Racz
fff4281702 [CLN] remove License from the beginning of each file MIT license requires only the LICENSE file: https://choosealicense.com/licenses/mit/ 2020-03-12 11:51:26 +01:00
Benedek Racz
0473d4b3e9 [CLN] coverage-report: add no cover for unreachable code 2020-02-29 18:55:19 +01:00
Benedek Racz
c5ded637ce [ADD] console reader coverage 2020-02-28 17:34:42 +01:00
Benedek Racz
0e6fcf1442 [ADD] installed testcase 2020-02-22 20:56:56 +01:00
Benedek Racz
bbc6a4f16c [FIX] codepage in new console launch 2020-02-22 18:10:12 +01:00
Benedek Racz
e7f58cc2fc [ADD] pyinstaller feature based on #12 2020-02-21 15:45:33 +01:00
Benedek Racz
62986d022c [REF] refactor startChild task, to prepare support pyinstaller 2020-02-21 14:23:08 +01:00
Benedek Racz
c35949704a [REF] refactor start of console: now starts as python module. 2020-02-19 16:34:35 +01:00
Benedek Racz
4b512294ee [CLN] linter 2020-02-19 16:13:29 +01:00
Benedek Racz
f6ff2fcf4d [CLN] more lint fixes 2020-02-19 10:20:56 +01:00
Benedek Racz
4bd5dea693 [FIX] flake8 linter first run; Atom first fixes 2020-02-06 11:47:56 +01:00
Benedek Racz
7afcbe8f73 [FIX] appveyor, by adding codepage parameter 2020-02-04 12:09:50 +01:00
Benedek Racz
69f40723d2 [FIX] exit status now returned from child in new-structure wexpect 2020-01-31 15:49:48 +01:00
Benedek Racz
ab033fc11c [ADD] more logging 2020-01-28 14:23:07 +01:00
Benedek Racz
8a84d0bb79 [FIX] all cleaned test merged 2020-01-25 23:52:08 +01:00
Benedek Racz
3d65f30b16 [FIX] isalive now uses flag_eof, and return false, if the eof has been catched 2020-01-25 23:27:45 +01:00
Benedek Racz
d46e700655 [FIX] real child process cannot be fetched from host, because it may died befor fetching it, so signal handling cannot be handled directly. 2020-01-25 22:54:40 +01:00
Benedek Racz
1fc42b5b84 [MRG] wexpect2 merged, the default is the legacy 2020-01-25 16:47:58 +01:00
Benedek Racz
578dd872dc [CLN] make wexpect subdir 2020-01-25 16:35:02 +01:00
Benedek Racz
f1654bc8df [CLN] make wexpect subdir 2020-01-25 16:30:39 +01:00
Benedek Racz
fa38c44947 [REF] spawn renamed to host not to hide spawn class; [FIX][TST] More misc test fixed 2020-01-24 17:25:12 +01:00
Benedek Racz
e62dfabc82 [FIX] process termination: do not terminate a process, which has not been started. 2020-01-24 16:24:03 +01:00
Benedek Racz
80f63d47ef [FIX] process termination and exitstatus 2020-01-24 10:35:23 +01:00
Benedek Racz
51426bc41d [ADD] WEXPECT_SPAWN_CLASS environment variable set the working spawn class, the default is SpawnSocket if env var not set;[FIX][TST] interact testcases skipped 2020-01-24 10:11:14 +01:00
Benedek Racz
46519bb4cf [CLN] clean process die 2020-01-23 13:31:18 +01:00
Benedek Racz
6a9b086d0b [CLN] clean non_blocking_read 2020-01-23 13:30:46 +01:00
Benedek Racz
0d645c4ddf [CLN] Remove non-standard linebreaks 2020-01-23 12:53:01 +01:00
Benedek Racz
40d34f4b92 [CLN] clean startChild function 2020-01-23 12:46:59 +01:00
Benedek Racz
1ad1ea28b0 [FIX] EOF handling, more fixes needed 2020-01-23 09:29:49 +01:00
Benedek Racz
a0b37ebf28 [FIX] Pipe console byte decode was missing 2020-01-23 08:25:52 +01:00
Benedek Racz
149ef50874 [CLN] logging levels; [FIX] Pipe avail bytes 2020-01-22 16:59:24 +01:00
Benedek Racz
eda36aa1a1 [FIX] align sleep times, now all commands arrives after the before one has been processed.[TST][FIX] destructor and constructor testcases 2020-01-22 13:33:09 +01:00