0
The command gh auth login --with-token<ghKeysconfig in the terminal works fine.
Here, ghKeysconfig is the file.
But when I use my python script with GitPython/SubProcess as follows
gLocal = git.Git("ansible")
authenticate_gh = gLocal.execute(["gh","auth","login","--with-token","<ghKeysconfig"])
...