Skip to content

Wine.run throws "error=7, Argument list too long" #331

Closed

Description

@plata
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at jdk.nashorn.internal.scripts.Script$Recompilation$105$4307AAZ$\^eval\_.run([Engines, Wine, Engine, Object]:232)
at jdk.nashorn.internal.scripts.Script$Recompilation$104$6856$\^eval\_.programFiles([Engines, Wine, Engine, Object]:273)
at jdk.nashorn.internal.scripts.Script$Recompilation$108$1054A$\^eval\_.manifest([Engines, Wine, QuickScript, SteamScript]:40)
at jdk.nashorn.internal.scripts.Script$Recompilation$109$1606A$\^eval\_.downloadFinished([Engines, Wine, QuickScript, SteamScript]:60)
at jdk.nashorn.internal.scripts.Script$Recompilation$43$2030$\^eval\_.go([Engines, Wine, QuickScript, SteamScript]:122)

The strange thing is that the same command obviously worked before (e.g. in downloadStarted). I could imagine that this is the same as #324.

Activity

  1. ImperatorS79 commented on Aug 17, 2017

    @ImperatorS79
    Contributor

    I had something similar yesterday when installing again STO, but it seems to appear when the steam update download takes too long.

  2. plata commented on Aug 17, 2017

    @plata
    CollaboratorAuthor

    Ok... That's super weird.

  3. madoar commented on Aug 18, 2017

    @madoar
    Collaborator

    It would be quite nice to log the command the ProcessBuilder built.

  4. plata commented on Aug 18, 2017

    @plata
    CollaboratorAuthor

    Yes. But as @ImperatorS79 pointed out it seems to depend on the number of times this is called. I can't really imagine how this can happen but I've implemented a workaround which should fix the issue. I'm currently testing it with a big Steam download and will then provide a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions