Drivers: add work_dir config to exec/raw_exec/java drivers (#24249)

---------

Co-authored-by: wurosh <uros.m.perisic@gmail.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
Michael Smithhisler
2024-11-01 11:04:40 -04:00
committed by GitHub
parent 58ea294f0b
commit 658c429d75
21 changed files with 408 additions and 125 deletions

View File

@@ -5,7 +5,7 @@
public class Hello {
public static void main(String[] args) {
System.out.println("Hello");
System.out.println("Hello, the current working directory is: " + System.getProperty("user.dir"));
int seconds = 5;
if (args.length != 0) {
seconds = Integer.parseInt(args[0]);