sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    No output text on Windows 7 system command

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jiva_bagale
      last edited by

      I start an exe from ruby with system ("path\to\exe" "arg1" "arg2")
      When the exe runs, the output text isn't visible in case of Windows 7. It only shows a blinking cursor. The actual task completes fine but no visible text. It works fine on Windows 8 and Windows 10.
      It also shows the text if I run the exe directly on Windows 7.

      One thing I have noticed is the title of the command is "c:\Windows\System32\cmd.exe" on Windows 7 where as it shows the actual path of the exe on Window 8 & 10.

      The output text is important to give feedback to user as sometimes the process can run for up to 1 hour. The SketchUp version is 2017. Ruby version 2.2.4.

      Thanks in advance
      Jiva

      1 Reply Last reply Reply Quote 0
      • M Offline
        MSP_Greg
        last edited by

        The problem is the ruby build currently included in SU 2017. Not sure why output varies by Windows version.

        If one replaces it with a different build, command output will appear in the console.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jiva_bagale
          last edited by

          Hi Greg,

          Thank you for the reply. I am not familiar with the ruby side at all. Is the sketchup ruby upgrade simple process. Is there any guide which explain it? A quick google didn't return much useful information.

          Many thanks
          Jiva

          1 Reply Last reply Reply Quote 0
          • M Offline
            MSP_Greg
            last edited by

            Jiva,

            It's complicated. I started using Ruby years ago with SketchUp. Been away from SketchUp for while, but I'm still using Ruby.

            As I recall, the files get split into two locations, you have to edit the SketchUp.exe file, etc.

            I've also been building Ruby for quite a while, so the files I used were my own and built with current compilers & toolchains. With SU 2017, it can only run with Ruby 2.3 due to the changes that occurred in Ruby 2.4.

            There may be a publicly available build of Ruby 2.3 in the (hopefully near) future...

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement