Check-in [5e6408e8c5]
Overview
Comment: | Use sys.encoding for os.system calls on Windows |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5e6408e8c5fd02d4d761c22440a29b43 |
User & Date: | Oliver on 2017-01-22 16:42:51 |
Other Links: | manifest | tags |
Context
2017-01-22
| ||
16:43 | Add osxpkg; though unused check-in: 66781c2e9d user: mario tags: trunk | |
16:42 | Use sys.encoding for os.system calls on Windows check-in: 5e6408e8c5 user: Oliver tags: trunk | |
2017-01-09
| ||
16:04 | failed attempt to make config tables resizeable check-in: 83f54d5ffd user: mario tags: trunk | |
Changes
Modified action.py from [12a6d46476] to [1923204c8e].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | # encoding: UTF-8 # api: streamtuner2 # type: functions # category: io # title: play/record actions # description: Starts audio applications, guesses MIME types for URLs |
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | + | import json import subprocess, pipes from datetime import datetime from xml.sax.saxutils import escape as xmlentities, unescape as xmlunescape import ahttp from config import * import sys # Coupling to main window # main = None |
︙ | |||
133 134 135 136 137 138 139 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - + | # Exec wrapper def run(cmd): if "cmd" in conf: cmd = conf.cmd % cmd elif conf.windows: |
︙ |