Skip to content

Using Source Control (Perforce)

When using source control systems like Perforce (P4V or CLI) inside the Secure Sandbox, follow these guidelines to ensure your data is safe and your workflows remain efficient.

What You'll Learn

  • How to persist your workspaces correctly
  • How to manage multiple configurations using Session Isolation
  • How network routing handles your connection

Store Workspaces in Persistent Storage

Best Practice:

  • Always create your workspace in a mapped Storage Context. These appear as folders in the Files tab (for example, a mapped project drive or a specific redirected folder).
  • Alternatively, use Turbo Drive (T: on Windows, ~/Library/CloudStorage/Turbo Drive on macOS) if your organization supports checking out code directly to cloud storage.

Managing Multiple Configurations (Session Isolation)

One of the most powerful features of Turbo Launcher is Session Isolation. Environment variables and configuration settings are stored within the session container, not on your host machine.

This allows you to work on multiple projects with different configurations simultaneously without conflicts.

How it works

  • Session A can have P4CLIENT=ProjectAlpha and P4PORT=ssl:p4.alpha.com:1666
  • Session B can have P4CLIENT=ProjectBeta and P4PORT=ssl:p4.beta.com:1666

These two sessions run side-by-side but do not see each other's variables.

Workflow: Switching Projects

To work on a second project without closing the first:

  1. Go to the Applications tab in Turbo Launcher.
  2. Right-click your application (for example, P4V or Command Prompt).
  3. Select New session.
  4. In the new window that appears, set your environment variables for the new project.
  5. You now have two independent environments running at the same time.

Network and Proxies

Your connection to the Perforce server is routed through the Secure Sandbox network stack.

  • No VPN Client Needed: The sandbox handles the secure connection and authentication policies. You typically do not need to run a separate VPN client on your host machine.
  • Troubleshooting: If you cannot connect to the server, check the Proxy Settings in the Launcher to ensure you have a valid connection to the required site.