Skip to content

Instantly share code, notes, and snippets.

@KKcorps
Created March 2, 2021 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KKcorps/9e87ce5f474f835f06fa3c123c078a7a to your computer and use it in GitHub Desktop.
Save KKcorps/9e87ce5f474f835f06fa3c123c078a7a to your computer and use it in GitHub Desktop.
from java_integration_lib import find_modules
import subprocess
def foo_bar():
jar_path = find_modules._find_dummy_java_module()
output = subprocess.check_output(["java", "-cp", jar_path, "org.example.Main"])
print(str(output))
if __name__ == "__main__":
foo_bar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment