where does buildDog.py run the build CMD ? #152
Replies: 2 comments 1 reply
-
|
Good question!
It uses a python function called subprocess.Popen() which stands for
process open.
It's called on lines 19 and 162. I'm not sure why it's called in two
different places.
The thing about Popen is that it gets back all the information written to
stdout and stderr so it can check for success. Errors go to stderr and
other compile messages go to stdout.
https://docs.python.org/3/library/subprocess.html#popen-constructor
BTW, my normal email address is: ***@***.***
Let me know if that answer is insufficient!
Bruce
…On Thu, Jun 10, 2021 at 5:01 PM Rohit Martires ***@***.***> wrote:
Hey guys,
so i was checking out the current build method in buildDog and i'm a lil
confused by one thing.
so when builddog.buid() is called it gets directed to the respective
platform build function where it
(a) creates the files and (b) gets the build string & run string but then
it returns. so when does it run the build sting cmd ?
like shouldn't it have to run the build sting to create the executable
file ?
-Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#152>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZFEUMR75XDMF2I5YBXJ3TSE75NANCNFSM46PRBXHQ>
.
--
Give me immortality or give me death!
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RMartires
-
|
I think it's hard to figure out how it builds because the function that
does it is called printResults(). We should rename it to something like
buildExecutableAndPrintResults(). Feel free to gut that file and start over.
…On Thu, Jun 10, 2021 at 10:51 PM Rohit Martires ***@***.***> wrote:
got it, thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#152 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZFEURVRGRO2KY5EDFLGTTSGI5DANCNFSM46PRBXHQ>
.
--
Give me immortality or give me death!
|
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.
-
Hey guys,
so i was checking out the current build method in buildDog and i'm a lil confused by one thing.
so when builddog.buid() is called it gets directed to the respective platform build function where it
(a) creates the files and (b) gets the build string & run string but then it returns. so when does it run the build sting cmd ?
like shouldn't it have to run the build sting to create the executable file ?
-Thanks
Beta Was this translation helpful? Give feedback.
All reactions