Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8414449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:10:27+00:00 2026-06-10T01:10:27+00:00

Something like erl -s crypto start -s application start public_key works for crypto but

  • 0

Something like

erl -s crypto start -s application start public_key

works for crypto but not application:start(..). Typically I have call application supervisor but not application itself. What’s the normal way of doing it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:10:29+00:00Added an answer on June 10, 2026 at 1:10 am

    The -s flag expects

    Module Fun Arg1 Arg2 ..

    and executes it as

    module:fun([Arg1, Arg2, ..]).

    So, it passes the arguments as a list.

    When running -s application start public_key it wil call application:start([public_key]), which isn’t supported. This works: application:start(public_key)

    I did not found a workaround for it without creating a module that contains a function to start up the public_key application, like:

    -module(myapp).

    -export([start/1]).

    start([App]) -> application:start(App).

    And call it like

    erl -s crypto start -s myapp start public_key

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Something like this quiz for javascript. http://perfectionkills.com/javascript-quiz/ I have searched it but I came
Something like this works, but looks a bit clumsy: for (i in {foo: 1,
Something like this will works only when user clicks the anchor. But a form
Something like comm but for Windows (No, installing Cygwin just for this is not
Something like these: 1234.5678 2345.6789 3456.7890 But not: 123.4567 Right now I do this:
Something like: for (a,b) in kwargs.iteritems(): if not b : del kwargs[a] This code
Something like: SELECT MONTH(*date?*) FROM //Not sure what goes here LIMIT 0,6 I know
Something like this: from Tkinter import * root = Tk() but = Button(root, text
Something like this (yes, this doesn't deal with some edge cases - that's not
Something like $('.mydiv' :eq(n) 'img') but yeah that is a terrible way of writing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.