Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages:attic
jython
jython-fix-tty-detection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jython-fix-tty-detection.patch of Package jython
--- jython-2.7.3/src/shell/jython.orig 2017-08-11 16:24:32.831309328 +0100 +++ jython-2.7.3/src/shell/jython 2017-08-11 16:23:55.346726416 +0100 @@ -242,6 +242,11 @@ fi fi +# Detect absence of tty +if ! tty -s; then + JAVA_OPTS="$JAVA_OPTS -Dpython.launcher.tty=false" +fi + if [ -n "$profile_requested" -o -z "$boot_requested" ] ; then [ -n "$profile_requested" ] && echo "Running with instrumented profiler" java_args=("${java_args[@]}" -classpath "$CP$CP_DELIMITER$CLASSPATH")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor