Message387732
| Author | elsamuko |
|---|---|
| Recipients | William.Schwartz, elsamuko, eryksun, ncoghlan, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware |
| Date | 2021-02-26.17:36:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1614360964.71.0.0844140879081.issue42962@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
FWIW, I could send CTRL-C to ffmpeg (else it won't write a valid mp4 header) under Windows by using the WINPID and not the PID returned from ps .
```
WINPID=$(ps aux | grep ffmpeg | awk '{print $4}')
python -c "import os, signal; os.kill($WINPID, signal.CTRL_C_EVENT)"
```
I put an example here:
https://gist.github.com/elsamuko/9c3fe69f00a0f847251ffa3ef1d080a2 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-02-26 17:36:05 | elsamuko | set | recipients: + elsamuko, terry.reedy, paul.moore, ncoghlan, vstinner, tim.golden, zach.ware, William.Schwartz, eryksun, steve.dower |
| 2021-02-26 17:36:04 | elsamuko | set | messageid: <1614360964.71.0.0844140879081.issue42962@roundup.psfhosted.org> |
| 2021-02-26 17:36:04 | elsamuko | link | issue42962 messages |
| 2021-02-26 17:36:04 | elsamuko | create | |