AcademySoftwareFoundation / AcademySoftwareFoundation/rez
gnome-terminal without location
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 369
- Avg merge
- 12d 3h
- Merged PRs (30d)
- 5
Description
Hi,
im doing something like this in python:
from rez.resolved_context import ResolvedContext
r = ResolvedContext(["python-2.7.5"])
p = r.execute_shell(command='gnome-terminal')
Then normally with this command, a shell open with this in the prompt:
[username@machinename lastfolder]$
But with this command, this is what im having:
>
Thats it, nothing else. Any hint? i check my profile in the .bashrc, loading specific profile with argument and im still having only this as input. Maybe im doing this wrong? I just want to open a terminal with the rez-env already configured.
Thanks for your help.
Pl
Contributor guide
Research direction
Start with the Python example using ResolvedContext.execute_shell(command='gnome-terminal') and reproduce the bare prompt. Read the relevant .bashrc profile-loading behavior and compare it with a normal gnome-terminal launch. Done means the cause of the missing prompt and Rez environment is identified, with the expected terminal behavior documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100