pvolok / mprocs

Run multiple commands in parallel
MIT License
1.51k stars 50 forks source link

mprocs 0.7.0-rc1 throws `Error: invalid type: map, expected a Value::Tagged enum` when `stop` uses `send-keys` on Windows #139

Closed NikGovorov closed 3 months ago

NikGovorov commented 3 months ago

Here is the sample config to reproduce the issue:

procs:
  dev:
    shell: 'npm run dev'
    stop:
      send-keys:
        - <C-c>

The issue is specific to the Windows operating system. I tried to narrow down the particular commit that triggered the problem, however, the Windows build already had issues right after the release of v0.6.4. I suspect that the update of serde/serde_yaml may have caused the problem, but I am not entirely certain.

pvolok commented 3 months ago

Thanks for reporting! Indeed looks like serde or serde_yaml changed deserialization a bit. Fixed in f324470