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
{{ message }}
This repository was archived by the owner on Mar 15, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 15, 2021. It is now read-only.
custom-commands / image-updates / postupdatecommand not fireing #57
Ahh... the problem seams to be the pre/post render use ProcessBuilder, which cant be called with
(if setting is = '/bin/bash /home/..../scriptname.sh')
ProcessBuilder('/bin/bash /home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();
it shoule be
ProcessBuilder('/bin/bash', '/home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();
so - maybe someone can integrate optional parameters in the settings which will be passed to the procces. this will make pre/post script development much easier.
Activity
begner commentedon Dec 2, 2015
Ahh... the problem seams to be the pre/post render use ProcessBuilder, which cant be called with
(if setting is = '/bin/bash /home/..../scriptname.sh')
ProcessBuilder('/bin/bash /home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();
it shoule be
ProcessBuilder('/bin/bash', '/home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();
so - maybe someone can integrate optional parameters in the settings which will be passed to the procces. this will make pre/post script development much easier.
meanwhile i will use shc (shellScriptCompiler)
begner commentedon Dec 2, 2015
Hmm... even with a single binary, the process does not start at all...
So - again :)
Is this a known issue?
custom-commands / image-updates does not start at all?
i do not get an exception or some errors, etc