Command doesn't read stdin static text #444
phemps
started this conversation in
Debugging and testing
Replies: 1 comment
-
Hi.
Where do you define this? Does stdin work if you change Then again I do not have any knowledge or experiance on Mamba. Does stdin work if you leave Mamba completely out and call Python directly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Obsidian debug information
Obsidian version: v1.7.7
Operating system: Darwin
Shell commands: v0.23.0
What shell are you using?
Zsh
Please describe the problem
Hi, I'm trying to run a python script using the plugin. In order to do that I need to activate a mamba environment (I guess that any virtualenv from python may simulate the same situation).
configuration.stdin = 'test text test'
working command: (I tried if the length of the command could have been the issue)
echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & echo 1 & python scripts/test.py
NOT working command:
/Users/<user>/mambaforge/bin/mamba run -n env_name python scripts/test.py
Python script example:
Beta Was this translation helpful? Give feedback.
All reactions