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

-logFile /dev/stdout not supported #11

Closed
lacostej opened this issue Aug 3, 2017 · 1 comment
Closed

-logFile /dev/stdout not supported #11

lacostej opened this issue Aug 3, 2017 · 1 comment

Comments

@lacostej
Copy link
Member

lacostej commented Aug 3, 2017

Looking at using /dev/stdout as a workaround for #3, it is currently not supported.

$ u3d --trace -r -- -logFile /dev/stdout -executeMethod U3d.EditorRun.Build -quit -batchmode 
/Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `delete': Permission denied @ unlink_internal - /dev/stdout (Errno::EACCES)
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands.rb:207:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:79:in `block (2 levels) in run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:160:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:36:in `start'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/exe/u3d:7:in `<top (required)>'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `load'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `<main>'
lacostej added a commit that referenced this issue Aug 4, 2017
* Do not try to delete non real logFile files (/dev/stdout support) #11

* stdout: display Unity command output

* example2: a fastlane integration with stdout
@lacostej
Copy link
Member Author

lacostej commented Aug 4, 2017

This is partially fixed. The pretifyer isn't plugged, but I'll open a new issue for that.

@lacostej lacostej closed this as completed Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant