This topic created in 1389 days ago, the information mentioned may be changed or developed.
背景:
帮老爸挂页游,用 python 写了个图像识别的自动点点点的外挂,我想放在我的 windows 服务器上(平时负载很低,刚好可以借用)
需求:
怎样才能在远程连接断开后继续保持程序运行,程序运行过程中会截图,现在会报错,无法正常运行,百度了一圈也没怎么搜索到
所以:
老哥们有相关的办法吗?
6 replies • 2022-10-04 16:36:48 +08:00
 |
|
1
hdp5252 Oct 3, 2022
用的是 rdp 连接的? 换 UltraVNC 试试 mstsc 远程连接对方会锁定桌面
|
 |
|
2
r6cb Oct 3, 2022
服务器上开个虚拟机,在虚拟机跑脚本?
|
 |
|
3
ch2 Oct 3, 2022 1
在远程桌面里保存为 xx.bat ,每次要断开 rdp 的时候双击运行即可
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do ( %windir%\System32\tscon.exe %%s /dest:console )
|
 |
|
5
bobawujh Oct 4, 2022 via Android
有个骚方法 就是找个跳板机连工作机的远程。。
|
 |
|
6
systemcall Oct 4, 2022
parsec 可以添加虚拟显示器,有虚拟显示器的话一般就没问题了
|