Message338141
| Author | ned.deily |
|---|---|
| Recipients | jagadeesh, ned.deily, ronaldoussoren |
| Date | 2019-03-17.21:17:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1552857469.54.0.143084773728.issue36331@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Did you try running the same command "screen -ls" with subprocess.run() so you can see the output from it? Or just from a terminal shell? If I do, I see: >>> subprocess.run(["screen", "-ls"]) No Sockets found in /var/folders/sn/0m4rnbyj2z1byjs68sz838300000gn/T/.screen. CompletedProcess(args=['screen', '-ls'], returncode=1) $ screen -ls No Sockets found in /var/folders/sn/0m4rnbyj2z1byjs68sz838300000gn/T/.screen. So subprocees.check_output() is likely working just fine: it is telling you that the command you tried to execute failed for some reason. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-03-17 21:17:49 | ned.deily | set | recipients: + ned.deily, ronaldoussoren, jagadeesh |
| 2019-03-17 21:17:49 | ned.deily | set | messageid: <1552857469.54.0.143084773728.issue36331@roundup.psfhosted.org> |
| 2019-03-17 21:17:49 | ned.deily | link | issue36331 messages |
| 2019-03-17 21:17:49 | ned.deily | create | |