You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The builder.Step.run() function should support passing back values from stdout/stderror where possible. Maybe this could be a new function that supports capturing output, but currently nothing is returned by run().
Describe alternatives you've considered
Could call subprocess.Process() directly, but that seems counter-productive.
Example use case
Attempting to translate the following from my build script:
# Get commit time of savedsearches.conf (last time it changed; any stanza) and use that as the modtime
ss_mtime=$(git log -n 1 --pretty=format:%ct -- $APP/default/savedsearches.conf)echo -e "[savedsearches/my_important_savedsearch]\n#Last change in git\nmodtime = $ss_mtime\n">>"$BUILD/metadata/default.meta"
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
The
builder.Step.run()
function should support passing back values from stdout/stderror where possible. Maybe this could be a new function that supports capturing output, but currently nothing is returned byrun()
.Describe alternatives you've considered
Could call
subprocess.Process()
directly, but that seems counter-productive.Example use case
Attempting to translate the following from my build script:
The text was updated successfully, but these errors were encountered: