AcademySoftwareFoundation / AcademySoftwareFoundation/rez

gnome-terminal without location

Open
#530 5 comments 0 reactions 0 assignees View on GitHub
bug shell
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.