dave-csc commented on issue #4768:
URL: https://github.com/apache/hop/issues/4768#issuecomment-2582529478

   Found a (very partial and clumsy) workaround, if you need to execute a 
workflow via Hop Run: you can inject those Java variables by modifying the 
HOP_OPTIONS parameters, in a single-line command this would be something like:
   
   `PREV_HOP_OPTIONS="${HOP_OPTIONS}" && HOP_OPTIONS="${HOP_OPTIONS} 
-Dhttps.proxyHost=my-proxy-host.com -Dhttps.proxyPort=3128" && hop-run.sh -e 
my_environment -f main.hwf && HOP_OPTIONS="${PREV_HOP_OPTIONS}"`
   
   For a better bug fix, you can probably consider to use the Java `Proxy` 
class instead of the system variables ([more info here, section 
3](https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html)).
   
   Hope this helps for the resolution :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to