Message372936
> A crude workaround is to script PowerShell or CMD in a child process.
I mean, that's not a *terrible* workaround:
>>> import os
>>> p1 = os.path.expandvars("%APPDATA%\\test.txt")
>>> p1
'C:\\Users\\steve\\AppData\\Roaming\\test.txt'
>>> open(p1, "w").close()
>>> os.system(f'copy "{os.path.realpath(p1)}" "{p1}"')
1 file(s) copied.
0
>>>
But yeah, definitely crude :) |
|
Date |
User |
Action |
Args |
2020-07-03 14:52:12 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware, eryksun, aku911 |
2020-07-03 14:52:12 | steve.dower | set | messageid: <1593787932.57.0.800412649572.issue41196@roundup.psfhosted.org> |
2020-07-03 14:52:12 | steve.dower | link | issue41196 messages |
2020-07-03 14:52:12 | steve.dower | create | |
|