Created
March 2, 2021 06:40
-
-
Save KKcorps/9e87ce5f474f835f06fa3c123c078a7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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