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

Show error if haxe-modular fails #84

Open
mastef opened this issue Jul 17, 2018 · 0 comments
Open

Show error if haxe-modular fails #84

mastef opened this issue Jul 17, 2018 · 0 comments

Comments

@mastef
Copy link

mastef commented Jul 17, 2018

This silent death here is deadly, as ( at least in my environment ) it doesn't output anything from Sys.command, and there's no error message :

Maybe something like :

		//Sys.println(cmd + ' ' + args.join(' '));
		var code = Sys.command(cmd, args);
		if (code != 0) {
			Sys.println("[haxe-split] Error when executing command : " + code);
			Sys.println(cmd + ' ' + args.join(' '));
			Sys.exit(code);
		}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants