Git Product home page Git Product logo

Comments (27)

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024 1

@mengsongouyang. I'm going to pass you this task for the time being

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

No work on this in past two weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

No work on this in past two weeks

from gslab_python.

z-y-huang avatar z-y-huang commented on August 17, 2024
process = subprocess.Popen(command.split(), 
                           stdout = subprocess.PIPE, 
                           stderr = subprocess.PIPE, 
                           shell = self.shell)
stdout, stderr = process.communicate()
matlab -nosplash -nodesktop -r run(\'%s\') -logfile %s'

First %s is program, second %s is log.

EDIT: Realized I also have a try/catch in my .m script. If you want the try/catch on the command line, use the following.

matlab -nosplash -nodesktop -r "try run(\'%s\'); catch e, fprintf(getReport(e)); end; quit" -logfile %s'

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

mengsongouyang avatar mengsongouyang commented on August 17, 2024

Seems that the cross-polar project encounters a similar issue. Details in this post and the followings.

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past two weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

DavidRitzwoller avatar DavidRitzwoller commented on August 17, 2024

no progress in past 2 weeks

from gslab_python.

mengsongouyang avatar mengsongouyang commented on August 17, 2024

No progress in past two weeks.

from gslab_python.

zkashner avatar zkashner commented on August 17, 2024

@Houdanait if you have some time and are willing to explore this issue that would be awesome!

from gslab_python.

Houdanait avatar Houdanait commented on August 17, 2024

Yes ! @zkashner

from gslab_python.

Houdanait avatar Houdanait commented on August 17, 2024

@zkashner @yu-jia-wang, linking this with fix_latex_error and i might have a suggestion for this

from gslab_python.

Houdanait avatar Houdanait commented on August 17, 2024

Hi @yu-jia-wang, thanks for offering to check that the suggested change for Latex indeed works for Matlab as well. I have tried faking an error on a .m file and it worked. It would be great if we could actually test this on a repo with an existing hanging Matlab issue to make sure this work. We have just merged it to gslab repo so you should be able to check it out.
There is now a time out option in ProgramDirective.py (l.115 here ) which should lead to exit when an app is hanging.

Let me know if this worked!! Thanks!

from gslab_python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.