Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix seatunnel-issue-6386 and windows specific starter cmd script bug #6735

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

GangLiCN
Copy link

Purpose of this pull request

fix seatunnel-issue-6386 and windows specific starter cmd script bug

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added java unit test cases.

Check list

@davidzollo davidzollo added the First-time contributor First-time contributor label Apr 20, 2024
command.add(cmd_flink);
} else {
System.out.println("Error: Can not determine OS type, abort run !");
System.exit(-1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System.exit(-1) is not recommended. The code causes some strange security problems; Throw an exception if there is a problem

Comment on lines +61 to +62
// debug
// System.out.println("OS type:"+local_os_type);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GangLiCN Please delete these useless codes

Comment on lines +134 to +135
// debug
// System.out.println("Whole command string:" + command.toString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time contributor First-time contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants