Added command.env("ARGYLL_NOT_INTERACTIVE", "1"); to ProcessManager::spawn so ArgyllCMS tools on Windows switch from console keyboard hooks (_getch()) to standard piped stdin stream reads.
Instrument Detection (src/js/chartread.js):
Updated detect_instruments to parse JSON device streams emitted by instlist ({"event": "instruments", "devices": [...]}) with automatic fallback to legacy regex line parsing.
### Summary
Fixes Stage 3 (`chartread`) interactive stdin piping on Windows and instrument autodetection JSON output parsing.
### Details & Fixes
1. **Piped Stdin Execution (`src-tauri/src/process_manager.rs`)**:
- Added `command.env("ARGYLL_NOT_INTERACTIVE", "1");` to `ProcessManager::spawn` so ArgyllCMS tools on Windows switch from console keyboard hooks (`_getch()`) to standard piped stdin stream reads.
2. **Instrument Detection (`src/js/chartread.js`)**:
- Updated `detect_instruments` to parse JSON device streams emitted by `instlist` (`{"event": "instruments", "devices": [...]}`) with automatic fallback to legacy regex line parsing.
3. **Prompt Detection & Interactive Calibration (`src/js/chartread.js`)**:
- Broadened calibration prompt matchers to detect `"reflective white reference"`, `"place the instrument"`, `"hit any key to continue"`.
- Added visual feedback on `btnCalibrate` when `" \n"` is written to stdin.
4. **Version Bump**:
- Version set to `0.3.5`.
Resolves #134.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Fixes Stage 3 (
chartread) interactive stdin piping on Windows and instrument autodetection JSON output parsing.Details & Fixes
src-tauri/src/process_manager.rs):command.env("ARGYLL_NOT_INTERACTIVE", "1");toProcessManager::spawnso ArgyllCMS tools on Windows switch from console keyboard hooks (_getch()) to standard piped stdin stream reads.src/js/chartread.js):detect_instrumentsto parse JSON device streams emitted byinstlist({"event": "instruments", "devices": [...]}) with automatic fallback to legacy regex line parsing.src/js/chartread.js):"reflective white reference","place the instrument","hit any key to continue".btnCalibratewhen" \n"is written to stdin.0.3.5.Resolves #134.