<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [Mac] run-safari doesn’t run Safari in 32-bit mode even if WebKit configuration is set to 32-bit"
   href="https://bugs.webkit.org/show_bug.cgi?id=132860">bug 132860</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>bburg&#64;apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [Mac] run-safari doesn’t run Safari in 32-bit mode even if WebKit configuration is set to 32-bit"
   href="https://bugs.webkit.org/show_bug.cgi?id=132860#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - [Mac] run-safari doesn’t run Safari in 32-bit mode even if WebKit configuration is set to 32-bit"
   href="https://bugs.webkit.org/show_bug.cgi?id=132860">bug 132860</a>
              from <span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>This should work fine nowadays, as we usually route through arch(1) and stick in the current architecture:

sub runMacWebKitApp($;$)
{
    my ($appPath, $useOpenCommand) = &#64;_;
    my $productDir = productDir();
    print &quot;Starting &#64;{[basename($appPath)]} with DYLD_FRAMEWORK_PATH set to point to built WebKit in $productDir.\n&quot;;

    local %ENV = %ENV;
    setupMacWebKitEnvironment($productDir);

    if (defined($useOpenCommand) &amp;&amp; $useOpenCommand == USE_OPEN_COMMAND) {
        return system(&quot;open&quot;, &quot;-W&quot;, &quot;-a&quot;, $appPath, &quot;--args&quot;, argumentsForRunAndDebugMacWebKitApp());
    }
    if (architecture()) {
        return system &quot;arch&quot;, &quot;-&quot; . architecture(), archCommandLineArgumentsForRestrictedEnvironmentVariables(), $appPath, argumentsForRunAndDebugMacWebKitApp();
    }
    return system { $appPath } $appPath, argumentsForRunAndDebugMacWebKitApp();
}</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>