[logseq-plugin-git:commit] 2025-09-08T09:35:23.573Z
This commit is contained in:
@@ -1,30 +1,30 @@
|
||||
- 恢复google翻译 #google
|
||||
- 将google翻译api加入代理切换
|
||||
- *.translate.googleapis.com
|
||||
- python执行shell命令 #python
|
||||
- ```python
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
command = "python --version"
|
||||
|
||||
# 方法一
|
||||
|
||||
os.system(command)
|
||||
|
||||
# 方法二
|
||||
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
```
|
||||
- java调用powershell命令 #java
|
||||
- [profesorfalken/jPowerShell: Simple Java API to interact with PowerShell console (github.com)](https://github.com/profesorfalken/jPowerShell)
|
||||
id:: 652bfd7c-75bd-4da2-8a1f-64cc2f9e11b8
|
||||
- jPowerShell
|
||||
- 多平台定时任务脚本管理工具 #开发
|
||||
- java语言开发
|
||||
- 可以定时执行powershell脚本
|
||||
- 命令行管理页面
|
||||
- 网页端管理页面
|
||||
- 可执行其它类型脚本
|
||||
- 恢复google翻译 #google
|
||||
- 将google翻译api加入代理切换
|
||||
- *.translate.googleapis.com
|
||||
- python执行shell命令 #python
|
||||
- ```python
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
command = "python --version"
|
||||
|
||||
# 方法一
|
||||
|
||||
os.system(command)
|
||||
|
||||
# 方法二
|
||||
|
||||
subprocess.call(command, shell=True)
|
||||
|
||||
```
|
||||
- java调用powershell命令 #java
|
||||
- [profesorfalken/jPowerShell: Simple Java API to interact with PowerShell console (github.com)](https://github.com/profesorfalken/jPowerShell)
|
||||
id:: 652bfd7c-75bd-4da2-8a1f-64cc2f9e11b8
|
||||
- jPowerShell
|
||||
- 多平台定时任务脚本管理工具 #开发
|
||||
- java语言开发
|
||||
- 可以定时执行powershell脚本
|
||||
- 命令行管理页面
|
||||
- 网页端管理页面
|
||||
- 可执行其它类型脚本
|
||||
- 多机器执行,统一管理
|
||||
Reference in New Issue
Block a user