This would be a good thing to take to a wider audience on the developer community https://community.intersystems.com. Someone there may already have a class for git.
Is this maybe a user permissions or environment problem? The shell created by pcperform running in studio runs as the cache service user. On windows, that’s the SYSTEM user, and on linux it defaults to cacheusr, unless you change it during the install. Try displaying the output from a PCPERFORM “set” to see what the environment is before running the git command.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
InterSystems-...@googlegroups.com.
To post to this group, send email to
InterSy...@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.
You didn’t mention anything about environment variables. Did you have to change any, to get your command to work as cacheusr from the command line, or did you have some already set? I’ve found on some platforms that “su – user” sometimes doesn’t completely eradicate the footprint of the user you logged in as.
If environment variables are involved, and you had to change any, you might also have to restart cache for those variables to take effect in the process that studio’s command run in. Maybe double-check the “set” output in studio with your terminal “set” output
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-...@googlegroups.com.
To post to this group, send email to InterSy...@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-...@googlegroups.com.
To post to this group, send email to InterSy...@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
InterSystems-...@googlegroups.com.
To post to this group, send email to
InterSy...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.
Visit this group at https://groups.google.com/group/InterSystems-MV.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
---
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to InterSystems-MV+unsubscribe@googlegroups.com.
To post to this group, send email to InterSystems-MV@googlegroups.com.