I write a Python script of OCR.
The beginning part of script:
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title ocr
# @raycast.mode silent
# Optional parameters:
# @raycast.icon
The clipboard operation part:
import pyperclip
pyperclip.copy(content)
print("Success!")
In the old version, this works well. But now (version 1.51.3) after running it, the clipboard is still empty.
But when I run it in console, this works well.
The bash command of pbcopy or something cannot operate correctly now